@UnstableApi public class ArrayRedisMessage extends AbstractReferenceCounted implements RedisMessage
Modifier and Type | Field and Description |
---|---|
static ArrayRedisMessage |
EMPTY_INSTANCE
A predefined empty array instance for
ArrayRedisMessage . |
static ArrayRedisMessage |
NULL_INSTANCE
A predefined null array instance for
ArrayRedisMessage . |
Constructor and Description |
---|
ArrayRedisMessage(List<RedisMessage> children)
Creates a
ArrayRedisMessage for the given content . |
Modifier and Type | Method and Description |
---|---|
List<RedisMessage> |
children()
Get children of this Arrays.
|
protected void |
deallocate()
Called once
AbstractReferenceCounted.refCnt() is equals 0. |
boolean |
isNull()
Returns whether the content of this message is
null . |
String |
toString() |
ArrayRedisMessage |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
public static final ArrayRedisMessage NULL_INSTANCE
ArrayRedisMessage
.public static final ArrayRedisMessage EMPTY_INSTANCE
ArrayRedisMessage
.public ArrayRedisMessage(List<RedisMessage> children)
ArrayRedisMessage
for the given content
.children
- the children.public final List<RedisMessage> children()
RedisMessage
s.public boolean isNull()
null
.null
.protected void deallocate()
AbstractReferenceCounted
AbstractReferenceCounted.refCnt()
is equals 0.deallocate
in class AbstractReferenceCounted
public ArrayRedisMessage touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ReferenceCounted
Copyright © 2008–2024 The Netty Project. All rights reserved.