public class LocalViewSpaceFactoryBean extends AbstractLocalCacheSpaceFactoryBean
Data is streamed into the client view in an implicit manner - as opposed to local cache data
(LocalCacheSpaceFactoryBean
), that is loaded into the client on- demand, and later
updated or evicted.
The local view is defined via a filter (setLocalViews(java.util.List)
localViews) -
as opposed to the local cache that caches data at the client side only after the data has been
read
logger
Constructor and Description |
---|
LocalViewSpaceFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
addViewQuery(Object query) |
protected IJSpace |
createCache(IDirectSpaceProxy remoteSpace)
Creates the local view
|
protected SpaceCacheConfig |
getCacheConfig() |
void |
setInitialSynchronizationTimeout(long initialSynchronizationTimeout) |
void |
setLocalViews(List<Object> queries)
Sets an array of filters/views that define what portion of the data from the master space
will be streamed to this local view.
|
protected void |
validate() |
addProperty, afterPropertiesSet, destroy, getBeanName, getObject, getObjectType, getServicesDetails, isSingleton, setBatchSize, setBatchTimeout, setBeanName, setMaxDisconnectionDuration, setProperties, setSpace
public void setLocalViews(List<Object> queries)
public void addViewQuery(Object query)
protected SpaceCacheConfig getCacheConfig()
getCacheConfig
in class AbstractLocalCacheSpaceFactoryBean
protected void validate()
validate
in class AbstractLocalCacheSpaceFactoryBean
public void setInitialSynchronizationTimeout(long initialSynchronizationTimeout)
protected IJSpace createCache(IDirectSpaceProxy remoteSpace)
createCache
in class AbstractLocalCacheSpaceFactoryBean
Copyright © GigaSpaces.