public class LocalCache extends NotifySpaceCache
_eventSession_cacheID, _localSpace, _logger, _remoteSpace| Constructor and Description |
|---|
LocalCache(LocalCacheContainer cacheContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCache(IEntryPacket entry,
int updateModifiers,
long readUpdateTime) |
void |
cleanBlockedEntries() |
void |
close() |
long |
getMaxTimeToLive() |
int |
getUpdateMode()
Update mode indicates whether to use a PUSH or a PULL to triggers an invalidation.
|
void |
initialize() |
protected Logger |
initLogger() |
void |
removeFromCache(String uid,
Transaction txn,
boolean disableInsertions) |
void |
updateCache(IEntryPacket updatedPacket,
Object objectToUpdateWith,
Transaction txn,
long lease,
int updateModifiers,
long updateTime) |
void |
updateCache(IEntryPacket updatedPacket,
Transaction transaction,
long lease,
int updateModifiers,
long updateTime) |
protected boolean |
useFifoEventListeners() |
getCacheSuffix, isHealthygetCacheEntryDataType, getInitializationException, getLocalProxy, getLocalSpaceImpl, getLogger, getRemoteProxy, isClosed, onCacheFailurepublic LocalCache(LocalCacheContainer cacheContainer)
public void initialize()
throws SpaceInitializationException,
InterruptedException
initialize in class NotifySpaceCacheSpaceInitializationExceptionInterruptedExceptionpublic void close()
close in class NotifySpaceCacheprotected Logger initLogger()
initLogger in class AbstractSpaceCachepublic int getUpdateMode()
public long getMaxTimeToLive()
protected boolean useFifoEventListeners()
useFifoEventListeners in class NotifySpaceCachepublic void addToCache(IEntryPacket entry, int updateModifiers, long readUpdateTime) throws RemoteException
RemoteExceptionpublic void removeFromCache(String uid, Transaction txn, boolean disableInsertions)
public void updateCache(IEntryPacket updatedPacket, Object objectToUpdateWith, Transaction txn, long lease, int updateModifiers, long updateTime)
public void updateCache(IEntryPacket updatedPacket, Transaction transaction, long lease, int updateModifiers, long updateTime)
public void cleanBlockedEntries()
Copyright © GigaSpaces.