public static final class SrvMonSysMemoryOffHeapUsage.Pojo extends Object implements UtlPool.Item<SrvMonSysMemoryOffHeapUsage.Pojo>
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearDirty() |
void |
clearUsedLive() |
void |
clearUsedPooled() |
static SrvMonSysMemoryOffHeapUsage.Pojo |
create() |
static SrvMonSysMemoryOffHeapUsage.Pojo |
create(boolean pvt) |
void |
deserialize(SrvMonSysMemoryOffHeapUsage.Deserializer deserializer) |
void |
forceDirty() |
UtlPool<SrvMonSysMemoryOffHeapUsage.Pojo> |
getPool()
Get a pool item's pool.
|
int |
getSerializedLength() |
long |
getUsedLive() |
long |
getUsedPooled() |
boolean |
hasUsedLive() |
boolean |
hasUsedPooled() |
SrvMonSysMemoryOffHeapUsage.Pojo |
init()
Initialize an item.
|
boolean |
isDirty() |
boolean |
isInitialized() |
SrvMonSysMemoryOffHeapUsage.Pojo |
reset() |
int |
serialize(SrvMonSysMemoryOffHeapUsage.Serializer serializer) |
void |
setAsReadOnly() |
void |
setInitialized() |
SrvMonSysMemoryOffHeapUsage.Pojo |
setPool(UtlPool<SrvMonSysMemoryOffHeapUsage.Pojo> pool)
Set a pool item's pool.
|
void |
setUsedLive(long val) |
void |
setUsedPooled(long val) |
public static final SrvMonSysMemoryOffHeapUsage.Pojo create(boolean pvt)
public static final SrvMonSysMemoryOffHeapUsage.Pojo create()
public final boolean hasUsedLive()
public final long getUsedLive()
public final void setUsedLive(long val)
public final void clearUsedLive()
public final boolean hasUsedPooled()
public final long getUsedPooled()
public final void setUsedPooled(long val)
public final void clearUsedPooled()
public final void clear()
public final void setAsReadOnly()
public final boolean isInitialized()
public final void setInitialized()
public final void clearDirty()
public final void forceDirty()
public final boolean isDirty()
public final int getSerializedLength()
public final int serialize(SrvMonSysMemoryOffHeapUsage.Serializer serializer)
public final void deserialize(SrvMonSysMemoryOffHeapUsage.Deserializer deserializer)
public final SrvMonSysMemoryOffHeapUsage.Pojo reset()
public final SrvMonSysMemoryOffHeapUsage.Pojo 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<SrvMonSysMemoryOffHeapUsage.Pojo>public final SrvMonSysMemoryOffHeapUsage.Pojo setPool(UtlPool<SrvMonSysMemoryOffHeapUsage.Pojo> 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<SrvMonSysMemoryOffHeapUsage.Pojo>public final UtlPool<SrvMonSysMemoryOffHeapUsage.Pojo> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonSysMemoryOffHeapUsage.Pojo>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.