public abstract class TTable<K,V> extends java.lang.Object implements TTableMBean
Modifier and Type | Class and Description |
---|---|
static interface |
TTable.IWalk<K,V> |
Table.Persistence
Modifier | Constructor and Description |
---|---|
protected |
TTable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
protected final java.lang.Long nextKey()
protected final boolean remove(K key)
public final java.lang.Runnable addListener(Listener l, java.lang.String name)
public final java.lang.Runnable addListener(Listener l)
public final boolean hasListener()
public final TTableCache<K,V> getCache()
public limax.xmlgen.Table meta()
protected abstract V newValue()
protected abstract OctetsStream marshalKey(K key)
protected abstract OctetsStream marshalValue(V value)
protected abstract K unmarshalKey(OctetsStream os) throws MarshalException
MarshalException
protected abstract V unmarshalValue(OctetsStream os) throws MarshalException
MarshalException
public final void walk(TTable.IWalk<K,V> iwalk)
public java.lang.String getLockName()
getLockName
in interface TTableMBean
public Table.Persistence getPersistence()
getPersistence
in interface Table
public java.lang.String getPersistenceName()
getPersistenceName
in interface TTableMBean
public void setCacheCapacity(int capacity)
setCacheCapacity
in interface TTableMBean
public int getCacheCapacity()
getCacheCapacity
in interface TTableMBean
public java.lang.String getCacheClassName()
getCacheClassName
in interface TTableMBean
public int getCacheSize()
getCacheSize
in interface TTableMBean
public long getCountAdd()
getCountAdd
in interface TTableMBean
public long getCountAddMiss()
getCountAddMiss
in interface TTableMBean
public long getCountAddStorageMiss()
getCountAddStorageMiss
in interface TTableMBean
public long getCountGet()
getCountGet
in interface TTableMBean
public long getCountGetMiss()
getCountGetMiss
in interface TTableMBean
public long getCountGetStorageMiss()
getCountGetStorageMiss
in interface TTableMBean
public long getCountRemove()
getCountRemove
in interface TTableMBean
public long getCountRemoveMiss()
getCountRemoveMiss
in interface TTableMBean
public long getCountRemoveStorageMiss()
getCountRemoveStorageMiss
in interface TTableMBean
public java.lang.String getPercentAddHit()
getPercentAddHit
in interface TTableMBean
public java.lang.String getPercentGetHit()
getPercentGetHit
in interface TTableMBean
public java.lang.String getPercentRemoveHit()
getPercentRemoveHit
in interface TTableMBean
public java.lang.String getPercentCacheHit()
getPercentCacheHit
in interface TTableMBean
public long getStorageCountFlush()
getStorageCountFlush
in interface TTableMBean
public long getStorageCountMarshal0()
getStorageCountMarshal0
in interface TTableMBean
public long getStorageCountMarshalN()
getStorageCountMarshalN
in interface TTableMBean
public long getStorageCountMarshalNTryFail()
getStorageCountMarshalNTryFail
in interface TTableMBean
public long getStorageCountSnapshot()
getStorageCountSnapshot
in interface TTableMBean
public long getStorageFlushKeySize()
getStorageFlushKeySize
in interface TTableMBean
public long getStorageFlushValueSize()
getStorageFlushValueSize
in interface TTableMBean