public static final class SrvMonSysThreadStats.Serializer extends Object implements UtlPool.Item<SrvMonSysThreadStats.Serializer>, AdmRuntime.BufferSizer
public static final SrvMonSysThreadStats.Serializer create(boolean pvt)
public static final SrvMonSysThreadStats.Serializer create()
public final SrvMonSysThreadStats.Serializer init(long addr, int len)
public final SrvMonSysThreadStats.Serializer init(IOBuffer buffer, int len)
public final SrvMonSysThreadStats.Serializer init(IOBuffer buffer)
public final SrvMonSysThreadStats.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 SrvMonSysThreadStats.Serializer threadCount(int val)
public final SrvMonSysThreadStats.Serializer daemonThreadCount(int val)
public final SrvMonSysThreadStats.Serializer peakThreadCount(int val)
public final SrvMonSysThreadStats.Serializer individualThreadStats(SrvMonSysIndividualThreadStats val)
public final SrvMonSysThreadStats.Serializer individualThreadStats(SrvMonSysIndividualThreadStats.Serializer val)
public final SrvMonSysThreadStats.Serializer individualThreadStats(SrvMonSysIndividualThreadStats.Deserializer val)
public final SrvMonSysThreadStats.Serializer individualThreadStats(IOBuffer val, int offset, int len)
public final SrvMonSysThreadStats.Serializer individualThreadStats(long addr, int offset, int len)
public final int done()
public final SrvMonSysThreadStats.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<SrvMonSysThreadStats.Serializer>public final SrvMonSysThreadStats.Serializer setPool(UtlPool<SrvMonSysThreadStats.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<SrvMonSysThreadStats.Serializer>public final UtlPool<SrvMonSysThreadStats.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<SrvMonSysThreadStats.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.