public class DuplicateIDCacheImpl extends Object implements DuplicateIDCache
| Constructor and Description |
|---|
DuplicateIDCacheImpl(SimpleString address,
int size,
StorageManager storageManager,
boolean persist) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCache(byte[] duplID,
Transaction tx) |
boolean |
contains(byte[] duplID) |
void |
deleteFromCache(byte[] duplicateID) |
void |
load(List<Pair<byte[],Long>> theIds) |
void |
load(Transaction tx,
byte[] duplID) |
public DuplicateIDCacheImpl(SimpleString address, int size, StorageManager storageManager, boolean persist)
public void load(List<Pair<byte[],Long>> theIds) throws Exception
load in interface DuplicateIDCacheExceptionpublic void deleteFromCache(byte[] duplicateID)
throws Exception
deleteFromCache in interface DuplicateIDCacheExceptionpublic boolean contains(byte[] duplID)
contains in interface DuplicateIDCachepublic void addToCache(byte[] duplID,
Transaction tx)
throws Exception
addToCache in interface DuplicateIDCacheExceptionpublic void load(Transaction tx, byte[] duplID)
load in interface DuplicateIDCacheCopyright © 2012 JBoss by Red Hat. All Rights Reserved.