| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final D | |
| private final Thread. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(DataType<?>
the first key a, DataType<?> the second key b)Overrides org. Implements org. Compare two keys. |
| public DataType | createStorage(int
number of values to hold size)Implements org. Create storage object of array type to hold values |
| public int | getMemory(DataType<?>
the object obj)Implements abstract org. Implements org. Calculates the amount of used memory in bytes. |
| public DataType | read(ByteBuffer
the source buffer buff)Implements abstract org. Implements org. Read an object. |
| public void | write(WriteBuffer
the target buffer buff, DataType<?> the value obj)Implements abstract org. Implements org. Write an object. |
| cache | back to summary |
|---|---|
| private final Map<String, Object> cache | |
| database | back to summary |
|---|---|
| private final D database | |
| exceptionHandler | back to summary |
|---|---|
| private final Thread. | |
| MetaType | back to summary |
|---|---|
| public MetaType(D database, Thread. | |
| compare | back to summary |
|---|---|
| public int compare(DataType<?> a, DataType<?> b) Overrides org. Implements org. Doc from org. Compare two keys. | |
| createStorage | back to summary |
|---|---|
| public DataType Implements org. Doc from org. Create storage object of array type to hold values | |
| getMemory | back to summary |
|---|---|
| public int getMemory(DataType<?> obj) Implements abstract org. Implements org. Doc from org. Calculates the amount of used memory in bytes. | |
| read | back to summary |
|---|---|
| public DataType Implements abstract org. Implements org. Doc from org. Read an object.
| |
| write | back to summary |
|---|---|
| public void write(WriteBuffer buff, DataType<?> obj) Implements abstract org. Implements org. Doc from org. Write an object.
| |