Interface MemcacheMessage
- All Superinterfaces:
DecoderResultProvider, MemcacheObject, ReferenceCounted
- All Known Subinterfaces:
BinaryMemcacheMessage, BinaryMemcacheRequest, BinaryMemcacheResponse, FullBinaryMemcacheRequest, FullBinaryMemcacheResponse, FullMemcacheMessage
- All Known Implementing Classes:
AbstractBinaryMemcacheMessage, DefaultBinaryMemcacheRequest, DefaultBinaryMemcacheResponse, DefaultFullBinaryMemcacheRequest, DefaultFullBinaryMemcacheResponse
Marker interface for both ascii and binary messages.
-
Method Summary
Modifier and TypeMethodDescriptionretain()Increases the reference count by1.retain(int increment) Increases the reference count by the specifiedincrement.touch()Records the current access location of this object for debugging purposes.Records the current access location of this object with an additional arbitrary information for debugging purposes.Methods inherited from interface DecoderResultProvider
decoderResult, setDecoderResultModifier and TypeMethodDescriptionReturns the result of decoding this object.voidsetDecoderResult(DecoderResult result) Updates the result of decoding this object.Methods inherited from interface ReferenceCounted
refCnt, release, releaseModifier and TypeMethodDescriptionintrefCnt()Returns the reference count of this object.booleanrelease()Decreases the reference count by1and deallocates this object if the reference count reaches at0.booleanrelease(int decrement) Decreases the reference count by the specifieddecrementand deallocates this object if the reference count reaches at0.
-
Method Details
-
retain
MemcacheMessage retain()Increases the reference count by1.- Specified by:
retainin interfaceReferenceCounted
-
retain
Increases the reference count by the specifiedincrement.- Specified by:
retainin interfaceReferenceCounted
-
touch
MemcacheMessage touch()Description copied from interface:ReferenceCountedRecords the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you viaResourceLeakDetector. This method is a shortcut totouch(null).- Specified by:
touchin interfaceReferenceCounted
-
touch
Description copied from interface:ReferenceCountedRecords the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you viaResourceLeakDetector.- Specified by:
touchin interfaceReferenceCounted
-