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, isHealthy
getCacheEntryDataType, getInitializationException, getLocalProxy, getLocalSpaceImpl, getLogger, getRemoteProxy, isClosed, onCacheFailure
public LocalCache(LocalCacheContainer cacheContainer)
public void initialize() throws SpaceInitializationException, InterruptedException
initialize
in class NotifySpaceCache
SpaceInitializationException
InterruptedException
public void close()
close
in class NotifySpaceCache
protected Logger initLogger()
initLogger
in class AbstractSpaceCache
public int getUpdateMode()
public long getMaxTimeToLive()
protected boolean useFifoEventListeners()
useFifoEventListeners
in class NotifySpaceCache
public void addToCache(IEntryPacket entry, int updateModifiers, long readUpdateTime) throws RemoteException
RemoteException
public 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.