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, waitgetNameprotected 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
MarshalExceptionprotected abstract V unmarshalValue(OctetsStream os) throws MarshalException
MarshalExceptionpublic final void walk(TTable.IWalk<K,V> iwalk)
public java.lang.String getLockName()
getLockName in interface TTableMBeanpublic Table.Persistence getPersistence()
getPersistence in interface Tablepublic java.lang.String getPersistenceName()
getPersistenceName in interface TTableMBeanpublic void setCacheCapacity(int capacity)
setCacheCapacity in interface TTableMBeanpublic int getCacheCapacity()
getCacheCapacity in interface TTableMBeanpublic java.lang.String getCacheClassName()
getCacheClassName in interface TTableMBeanpublic int getCacheSize()
getCacheSize in interface TTableMBeanpublic long getCountAdd()
getCountAdd in interface TTableMBeanpublic long getCountAddMiss()
getCountAddMiss in interface TTableMBeanpublic long getCountAddStorageMiss()
getCountAddStorageMiss in interface TTableMBeanpublic long getCountGet()
getCountGet in interface TTableMBeanpublic long getCountGetMiss()
getCountGetMiss in interface TTableMBeanpublic long getCountGetStorageMiss()
getCountGetStorageMiss in interface TTableMBeanpublic long getCountRemove()
getCountRemove in interface TTableMBeanpublic long getCountRemoveMiss()
getCountRemoveMiss in interface TTableMBeanpublic long getCountRemoveStorageMiss()
getCountRemoveStorageMiss in interface TTableMBeanpublic java.lang.String getPercentAddHit()
getPercentAddHit in interface TTableMBeanpublic java.lang.String getPercentGetHit()
getPercentGetHit in interface TTableMBeanpublic java.lang.String getPercentRemoveHit()
getPercentRemoveHit in interface TTableMBeanpublic java.lang.String getPercentCacheHit()
getPercentCacheHit in interface TTableMBeanpublic long getStorageCountFlush()
getStorageCountFlush in interface TTableMBeanpublic long getStorageCountMarshal0()
getStorageCountMarshal0 in interface TTableMBeanpublic long getStorageCountMarshalN()
getStorageCountMarshalN in interface TTableMBeanpublic long getStorageCountMarshalNTryFail()
getStorageCountMarshalNTryFail in interface TTableMBeanpublic long getStorageCountSnapshot()
getStorageCountSnapshot in interface TTableMBeanpublic long getStorageFlushKeySize()
getStorageFlushKeySize in interface TTableMBeanpublic long getStorageFlushValueSize()
getStorageFlushValueSize in interface TTableMBean