public static final class SrvMonSysDiskStats.Serializer extends Object implements UtlPool.Item<SrvMonSysDiskStats.Serializer>, AdmRuntime.BufferSizer
public static final SrvMonSysDiskStats.Serializer create(boolean pvt)
public static final SrvMonSysDiskStats.Serializer create()
public final SrvMonSysDiskStats.Serializer init(long addr, int len)
public final SrvMonSysDiskStats.Serializer init(IOBuffer buffer, int len)
public final SrvMonSysDiskStats.Serializer init(IOBuffer buffer)
public final SrvMonSysDiskStats.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 SrvMonSysDiskStats.Serializer totalSpace(long val)
public final SrvMonSysDiskStats.Serializer usableSpace(long val)
public final SrvMonSysDiskStats.Serializer freeSpace(long val)
public final SrvMonSysDiskStats.Serializer rootPath(String val)
public final SrvMonSysDiskStats.Serializer rootPath(XString val)
public final SrvMonSysDiskStats.Serializer rootPath(byte[] val, int offset, int len)
public final SrvMonSysDiskStats.Serializer rootPath(byte[] val)
public final SrvMonSysDiskStats.Serializer rootPath(XStringDeserializer val)
public final SrvMonSysDiskStats.Serializer rootPath(IOBuffer val, int offset, int len)
public final int done()
public final SrvMonSysDiskStats.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<SrvMonSysDiskStats.Serializer>public final SrvMonSysDiskStats.Serializer setPool(UtlPool<SrvMonSysDiskStats.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<SrvMonSysDiskStats.Serializer>public final UtlPool<SrvMonSysDiskStats.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<SrvMonSysDiskStats.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.