public static final class SrvMonUserStats.Serializer extends Object implements UtlPool.Item<SrvMonUserStats.Serializer>, AdmRuntime.BufferSizer
public static final SrvMonUserStats.Serializer create(boolean pvt)
public static final SrvMonUserStats.Serializer create()
public final SrvMonUserStats.Serializer init(long addr, int len)
public final SrvMonUserStats.Serializer init(IOBuffer buffer, int len)
public final SrvMonUserStats.Serializer init(IOBuffer buffer)
public final SrvMonUserStats.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 SrvMonUserStats.Serializer counters(SrvMonUserCounterStat val)
public final SrvMonUserStats.Serializer counters(SrvMonUserCounterStat.Serializer val)
public final SrvMonUserStats.Serializer counters(SrvMonUserCounterStat.Deserializer val)
public final SrvMonUserStats.Serializer counters(IOBuffer val, int offset, int len)
public final SrvMonUserStats.Serializer counters(long addr, int offset, int len)
public final SrvMonUserStats.Serializer series(SrvMonUserSeriesStat val)
public final SrvMonUserStats.Serializer series(SrvMonUserSeriesStat.Serializer val)
public final SrvMonUserStats.Serializer series(SrvMonUserSeriesStat.Deserializer val)
public final SrvMonUserStats.Serializer series(IOBuffer val, int offset, int len)
public final SrvMonUserStats.Serializer series(long addr, int offset, int len)
public final SrvMonUserStats.Serializer gauges(SrvMonUserGaugeStat val)
public final SrvMonUserStats.Serializer gauges(SrvMonUserGaugeStat.Serializer val)
public final SrvMonUserStats.Serializer gauges(SrvMonUserGaugeStat.Deserializer val)
public final SrvMonUserStats.Serializer gauges(IOBuffer val, int offset, int len)
public final SrvMonUserStats.Serializer gauges(long addr, int offset, int len)
public final int done()
public final SrvMonUserStats.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<SrvMonUserStats.Serializer>public final SrvMonUserStats.Serializer setPool(UtlPool<SrvMonUserStats.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<SrvMonUserStats.Serializer>public final UtlPool<SrvMonUserStats.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<SrvMonUserStats.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.