DnsRawRecord implementation.
| Access | Constructor and Description |
|---|---|
| public | DefaultDnsRawRecord(String
the domain name name, DnsRecordType the type of the record type, long the TTL value of the record timeToLive, ByteBuf content)Creates a new |
| public | DefaultDnsRawRecord(String
the domain name name, DnsRecordType the type of the record type, int the class of the record, usually one of the following:
dnsClass, long the TTL value of the record timeToLive, ByteBuf content)Creates a new record. |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuf | content()
Implements io. ByteBufHolder.
|
| public DnsRawRecord | copy()
Implements io. ByteBufHolder.
|
| public DnsRawRecord | duplicate()
Implements io. ByteBufHolder.
|
| public int | refCnt()
Implements io. |
| public boolean | release()
Implements io. 1 and deallocates this object if the reference count reaches at
0.
|
| public boolean | release(int decrement)
Implements io. decrement and deallocates this object if the reference
count reaches at 0.
|
| public DnsRawRecord | replace(ByteBuf content)
Implements io. ByteBufHolder which contains the specified content.
|
| public DnsRawRecord | retain()
Implements io. 1.
|
| public DnsRawRecord | retain(int increment)
Implements io. increment.
|
| public DnsRawRecord | retainedDuplicate()
Implements io. ByteBufHolder.
|
| public String | toString()
Overrides io. |
| public DnsRawRecord | touch()
Implements io. |
| public DnsRawRecord | touch(Object hint)
Implements io. |
| content | back to summary |
|---|---|
| private final ByteBuf content | |
| DefaultDnsRawRecord | back to summary |
|---|---|
| public DefaultDnsRawRecord(String name, DnsRecordType type, long timeToLive, ByteBuf content) Creates a new
| |
| DefaultDnsRawRecord | back to summary |
|---|---|
| public DefaultDnsRawRecord(String name, DnsRecordType type, int dnsClass, long timeToLive, ByteBuf content) Creates a new record.
| |
| content | back to summary |
|---|---|
| public ByteBuf content() Implements io. Doc from io. Return the data which is held by this
| |
| copy | back to summary |
|---|---|
| public DnsRawRecord copy() Implements io. Doc from io. Creates a deep copy of this
| |
| duplicate | back to summary |
|---|---|
| public DnsRawRecord duplicate() Implements io. Doc from io. Duplicates this
| |
| refCnt | back to summary |
|---|---|
| public int refCnt() Implements io. Doc from io. Returns the reference count of this object. If
| |
| release | back to summary |
|---|---|
| public boolean release() Implements io. Doc from io. Decreases the reference count by
| |
| release | back to summary |
|---|---|
| public boolean release(int decrement) Implements io. Doc from io. Decreases the reference count by the specified
| |
| replace | back to summary |
|---|---|
| public DnsRawRecord replace(ByteBuf content) Implements io. Doc from io. Returns a new
| |
| retain | back to summary |
|---|---|
| public DnsRawRecord retain() Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public DnsRawRecord retain(int increment) Implements io. Doc from io. Increases the reference count by the specified
| |
| retainedDuplicate | back to summary |
|---|---|
| public DnsRawRecord retainedDuplicate() Implements io. Doc from io. Duplicates this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides io. Doc from java. Returns a string representation of the object. | |
| touch | back to summary |
|---|---|
| public DnsRawRecord touch() Implements io. Doc from io. Records 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
via
| |
| touch | back to summary |
|---|---|
| public DnsRawRecord touch(Object hint) Implements io. Doc from io. Records 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 via
| |