M
- the type of the wrapped messageA
- the type of the addresspublic interface AddressedEnvelope<M,A extends java.net.SocketAddress> extends ReferenceCounted
限定符和类型 | 方法和说明 |
---|---|
M |
content()
Returns the message wrapped by this envelope message.
|
A |
recipient()
Returns the address of the recipient of this message.
|
AddressedEnvelope<M,A> |
retain()
Increases the reference count by
1 . |
AddressedEnvelope<M,A> |
retain(int increment)
Increases the reference count by the specified
increment . |
A |
sender()
Returns the address of the sender of this message.
|
AddressedEnvelope<M,A> |
touch()
Records the current access location of this object for debugging purposes.
|
AddressedEnvelope<M,A> |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
refCnt, release, release
M content()
A sender()
A recipient()
AddressedEnvelope<M,A> retain()
ReferenceCounted
1
.retain
在接口中 ReferenceCounted
AddressedEnvelope<M,A> retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ReferenceCounted
AddressedEnvelope<M,A> touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ReferenceCounted
AddressedEnvelope<M,A> touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ReferenceCounted