public static final class SrvMonSysMemoryIOBufCounters.Serializer extends Object implements UtlPool.Item<SrvMonSysMemoryIOBufCounters.Serializer>, AdmRuntime.BufferSizer
public static final SrvMonSysMemoryIOBufCounters.Serializer create(boolean pvt)
public static final SrvMonSysMemoryIOBufCounters.Serializer create()
public final SrvMonSysMemoryIOBufCounters.Serializer init(long addr, int len)
public final SrvMonSysMemoryIOBufCounters.Serializer init(IOBuffer buffer, int len)
public final SrvMonSysMemoryIOBufCounters.Serializer init(IOBuffer buffer)
public final SrvMonSysMemoryIOBufCounters.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 SrvMonSysMemoryIOBufCounters.Serializer bufferAllocCount(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferAllocBytes(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferPoolAllocCount(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferPoolAllocBytes(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferReallocCount(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferReallocBytes(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferForkCount(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferForkBytes(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferGCDisposeCount(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferGCDisposeBytes(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferPoolDisposeCount(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferPoolDisposeBytes(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferPoolLeakCount(long val)
public final SrvMonSysMemoryIOBufCounters.Serializer bufferPoolLeakBytes(long val)
public final int done()
public final SrvMonSysMemoryIOBufCounters.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<SrvMonSysMemoryIOBufCounters.Serializer>public final SrvMonSysMemoryIOBufCounters.Serializer setPool(UtlPool<SrvMonSysMemoryIOBufCounters.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<SrvMonSysMemoryIOBufCounters.Serializer>public final UtlPool<SrvMonSysMemoryIOBufCounters.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<SrvMonSysMemoryIOBufCounters.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.