public abstract class AbstractSpaceCache extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_cacheID |
protected IDirectSpaceProxy |
_localSpace |
protected org.slf4j.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() |
org.slf4j.Logger |
getLogger() |
IDirectSpaceProxy |
getRemoteProxy() |
void |
initialize() |
protected abstract org.slf4j.Logger |
initLogger() |
boolean |
isClosed() |
abstract boolean |
isHealthy() |
void |
onCacheFailure() |
protected final org.slf4j.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 org.slf4j.Logger getLogger()
protected abstract org.slf4j.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.