public class BlockEntry<T extends DataBlock> extends Object implements CacheEntry<T>
Constructor and Description |
---|
BlockEntry(T dataBlock) |
Modifier and Type | Method and Description |
---|---|
void |
decrementBlockCount() |
long |
getPosition() |
T |
getValue() |
void |
incrementBlockCount() |
boolean |
isInUse() |
long |
memorySize() |
void |
release() |
String |
toString() |
public BlockEntry(T dataBlock)
public long getPosition()
public void incrementBlockCount()
public void decrementBlockCount()
public boolean isInUse()
isInUse
in interface CacheEntry<T extends DataBlock>
public long memorySize()
memorySize
in interface CacheEntry<T extends DataBlock>
public T getValue()
getValue
in interface CacheEntry<T extends DataBlock>
public void release() throws JasDBStorageException
release
in interface CacheEntry<T extends DataBlock>
JasDBStorageException
Copyright © 2015. All rights reserved.