public static final class SrvMonAppFlowInfo.Serializer extends Object implements UtlPool.Item<SrvMonAppFlowInfo.Serializer>, AdmRuntime.BufferSizer
| Modifier and Type | Method and Description |
|---|---|
static SrvMonAppFlowInfo.Serializer |
create() |
static SrvMonAppFlowInfo.Serializer |
create(boolean pvt) |
int |
done() |
long |
ensureCapacity(long addr,
int capacity)
Method invoked by the serializer to ensure there is enough space in the target
buffer to accommodate a field being serialized
|
UtlPool<SrvMonAppFlowInfo.Serializer> |
getPool()
Get a pool item's pool.
|
int |
getSerializedLength() |
void |
getTo(IOBuffer buffer,
int offset) |
int |
getTo(long addr,
int offset) |
boolean |
hasSizer() |
SrvMonAppFlowInfo.Serializer |
id(int val) |
SrvMonAppFlowInfo.Serializer |
init()
Initialize an item.
|
SrvMonAppFlowInfo.Serializer |
init(IOBuffer buffer) |
SrvMonAppFlowInfo.Serializer |
init(IOBuffer buffer,
int len) |
SrvMonAppFlowInfo.Serializer |
init(long addr,
int len) |
boolean |
isInitialized() |
void |
putFrom(IOBuffer buffer,
int offset,
int len) |
void |
putFrom(long addr,
int offset,
int len) |
SrvMonAppFlowInfo.Serializer |
setPool(UtlPool<SrvMonAppFlowInfo.Serializer> pool)
Set a pool item's pool.
|
SrvMonAppFlowInfo.Serializer |
setSizer(AdmRuntime.BufferSizer sizer) |
public static final SrvMonAppFlowInfo.Serializer create(boolean pvt)
public static final SrvMonAppFlowInfo.Serializer create()
public final SrvMonAppFlowInfo.Serializer init(long addr, int len)
public final SrvMonAppFlowInfo.Serializer init(IOBuffer buffer, int len)
public final SrvMonAppFlowInfo.Serializer init(IOBuffer buffer)
public final SrvMonAppFlowInfo.Serializer setSizer(AdmRuntime.BufferSizer sizer)
public final boolean hasSizer()
public final boolean isInitialized()
public final int getSerializedLength()
public final void getTo(IOBuffer buffer, int offset)
public final int getTo(long addr,
int offset)
public final void putFrom(IOBuffer buffer, int offset, int len)
public final void putFrom(long addr,
int offset,
int len)
public final SrvMonAppFlowInfo.Serializer id(int val)
public final int done()
public final SrvMonAppFlowInfo.Serializer init()
UtlPool.ItemThis method is invoked by an item pool very time an item is put into the pool. The method should wipe the contents of the item so as to present a fresh instance of the item to the caller when retrieved from the pool.
init in interface UtlPool.Item<SrvMonAppFlowInfo.Serializer>public final SrvMonAppFlowInfo.Serializer setPool(UtlPool<SrvMonAppFlowInfo.Serializer> pool)
UtlPool.ItemThis method is invoked by an item pool at the time an item is added to the pool. The intent is to record the item's source pool in the item so it can be disposed back into the pool when the user is done working with it.
setPool in interface UtlPool.Item<SrvMonAppFlowInfo.Serializer>public final UtlPool<SrvMonAppFlowInfo.Serializer> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonAppFlowInfo.Serializer>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final long ensureCapacity(long addr,
int capacity)
AdmRuntime.BufferSizerensureCapacity in interface AdmRuntime.BufferSizeraddr - The native address of the target buffercapacity - The required capacity of the bufferThis method is invoked by a serializer each time it serializes a field or part of a field to the target buffer to ensure that the target buffer has the desired capacity to hold the data being added.
Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.