public abstract class AbstractSpaceCache extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_cacheID |
protected IDirectSpaceProxy |
_localSpace |
protected Logger |
_logger |
protected IDirectSpaceProxy |
_remoteSpace |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSpaceCache(AbstractSpaceCacheContainer cacheContainer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
EntryDataType |
getCacheEntryDataType() |
protected abstract String |
getCacheSuffix() |
SpaceCacheInitializationException |
getInitializationException() |
IDirectSpaceProxy |
getLocalProxy() |
SpaceImpl |
getLocalSpaceImpl() |
Logger |
getLogger() |
IDirectSpaceProxy |
getRemoteProxy() |
void |
initialize() |
protected abstract Logger |
initLogger() |
boolean |
isClosed() |
abstract boolean |
isHealthy() |
void |
onCacheFailure() |
protected final Logger _logger
protected final String _cacheID
protected final IDirectSpaceProxy _remoteSpace
protected IDirectSpaceProxy _localSpace
protected AbstractSpaceCache(AbstractSpaceCacheContainer cacheContainer)
public void initialize() throws SpaceInitializationException, InterruptedException
public void close()
public Logger getLogger()
protected abstract Logger initLogger()
public void onCacheFailure()
public boolean isClosed()
public SpaceImpl getLocalSpaceImpl()
public IDirectSpaceProxy getLocalProxy()
public IDirectSpaceProxy getRemoteProxy()
public EntryDataType getCacheEntryDataType()
protected abstract String getCacheSuffix()
public abstract boolean isHealthy()
public SpaceCacheInitializationException getInitializationException()
Copyright © GigaSpaces.