@UnstableApi public interface DnsRawRecord extends DnsRecord, ByteBufHolder
DnsRecord
that contains an undecoded RDATA
.CLASS_ANY, CLASS_CHAOS, CLASS_CSNET, CLASS_HESIOD, CLASS_IN, CLASS_NONE
Modifier and Type | Method and Description |
---|---|
DnsRawRecord |
copy()
Creates a deep copy of this
ByteBufHolder . |
DnsRawRecord |
duplicate()
Duplicates this
ByteBufHolder . |
DnsRawRecord |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
DnsRawRecord |
retain()
Increases the reference count by
1 . |
DnsRawRecord |
retain(int increment)
Increases the reference count by the specified
increment . |
DnsRawRecord |
retainedDuplicate()
Duplicates this
ByteBufHolder . |
DnsRawRecord |
touch()
Records the current access location of this object for debugging purposes.
|
DnsRawRecord |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
dnsClass, name, timeToLive, type
content
refCnt, release, release
DnsRawRecord copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
DnsRawRecord duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
DnsRawRecord retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
in interface ByteBufHolder
ByteBuf.retainedDuplicate()
DnsRawRecord replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
in interface ByteBufHolder
DnsRawRecord retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
DnsRawRecord retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
DnsRawRecord touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
DnsRawRecord touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
Copyright © 2008–2017 The Netty Project. All rights reserved.