| Modifier and Type | Field and Description |
|---|---|
| protected final Map | attributeExtractors
search attribute extractors |
| private final String | |
| private transient List | listenerList
listener list |
| protected final SearchManager | searchManager
search manager |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | AbstractStore(SearchManager
the search manager to use searchManager, String cacheName)Constructor for stores that do support search |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | addStoreListener(StoreListener listener)
Implements net. |
| public Results | executeQuery(StoreQuery
query to execute query)Implements net. |
| public Map | getAll(Collection<?>
a collection of keys to look for keys)Implements net. |
| public Map | getAllQuiet(Collection<?>
a collection of keys to look for keys)Implements net. |
| protected synchronized List | |
| public <T> Attribute | getSearchAttribute(String
the name of the attribute to retrieve attributeName)Implements net. |
| public Set | |
| public boolean | hasAbortedSizeOf()
Implements net. |
| public boolean | isCacheCoherent()
Implements net. |
| public boolean | isClusterCoherent()
Implements net. |
| public boolean | isNodeCoherent()
Implements net. |
| public void | putAll(Collection<Element>
Collection of elements to be put in the store elements)Implements net. |
| public void | recalculateSize(Object
the key key)Implements net. |
| public void | removeAll(Collection<?> keys)
Implements net. |
| public synchronized void | removeStoreListener(StoreListener listener)
Implements net. |
| public void | setAttributeExtractors(Map<String, AttributeExtractor> extractors)
Implements net. |
| public void | setNodeCoherent(boolean
true transitions to coherent mode, false to incoherent mode coherent)Implements net. |
| public void | waitUntilClusterCoherent()
Implements net. |
| attributeExtractors | back to summary |
|---|---|
| protected final Map<String, AttributeExtractor> attributeExtractors search attribute extractors | |
| cacheName | back to summary |
|---|---|
| private final String cacheName | |
| listenerList | back to summary |
|---|---|
| private transient List<StoreListener> listenerList listener list | |
| searchManager | back to summary |
|---|---|
| protected final SearchManager searchManager search manager | |
| AbstractStore | back to summary |
|---|---|
| protected AbstractStore() Constructor for stores that do not support search | |
| AbstractStore | back to summary |
|---|---|
| protected AbstractStore(SearchManager searchManager, String cacheName) Constructor for stores that do support search
| |
| addStoreListener | back to summary |
|---|---|
| public synchronized void addStoreListener(StoreListener listener) Implements net. Doc from net. Add a listener to the store. | |
| executeQuery | back to summary |
|---|---|
| public Results executeQuery(StoreQuery query) Implements net. Doc from net. Execute the given query on this store
| |
| getAll | back to summary |
|---|---|
| public Map Implements net. Doc from net. Retries the elements associated with a set of keys and update the statistics Keys which are not present in the cache will have null values associated with them in the returned map
| |
| getAllQuiet | back to summary |
|---|---|
| public Map Implements net. Doc from net. Retries the elements associated with a set of keys without updating the statistics Keys which are not present in the cache will have null values associated with them in the returned map
| |
| getEventListenerList | back to summary |
|---|---|
| protected synchronized List onLoad initializer | |
| getSearchAttribute | back to summary |
|---|---|
| public <T> Attribute Implements net. Doc from net. Retrieve the given named search attribute | |
| getSearchAttributes | back to summary |
|---|---|
| public Set Implements net.
| |
| hasAbortedSizeOf | back to summary |
|---|---|
| public boolean hasAbortedSizeOf() Implements net. Doc from net. Checks if the cache may contain elements for which the SizeOf engine gave up and only partially calculated the size.
| |
| isCacheCoherent | back to summary |
|---|---|
| public boolean isCacheCoherent() Implements net. Doc from net. Indicates whether this store provides a coherent view of all the elements
in a cache.
Note that this is same as calling
| |
| isClusterCoherent | back to summary |
|---|---|
| public boolean isClusterCoherent() Implements net. Doc from net. Returns true if the cache is in coherent mode cluster-wide. Returns false otherwise. It applies to coherent clustering mechanisms only e.g. Terracotta
| |
| isNodeCoherent | back to summary |
|---|---|
| public boolean isNodeCoherent() Implements net. Doc from net. Returns true if the cache is in coherent mode for the current node. Returns false otherwise. It applies to coherent clustering mechanisms only e.g. Terracotta
| |
| putAll | back to summary |
|---|---|
| public void putAll(Collection<Element> elements) throws CacheException Implements net. Doc from net. Puts a collection of elements into the store.
| |
| recalculateSize | back to summary |
|---|---|
| public void recalculateSize(Object key) Implements net. Doc from net. Recalculate size of the element mapped to the key
| |
| removeAll | back to summary |
|---|---|
| public void removeAll(Collection<?> keys) Implements net. Doc from net. Removes a collection of elements from the cache. | |
| removeStoreListener | back to summary |
|---|---|
| public synchronized void removeStoreListener(StoreListener listener) Implements net. Doc from net. Remove listener from store. | |
| setAttributeExtractors | back to summary |
|---|---|
| public void setAttributeExtractors(Map<String, AttributeExtractor> extractors) Implements net. Doc from net. Inform this store of the configured attribute extractors. Stores that will not invoke extractors are free to ignore this call | |
| setNodeCoherent | back to summary |
|---|---|
| public void setNodeCoherent(boolean coherent) throws UnsupportedOperationException Implements net. Doc from net. Sets the cache in coherent or incoherent mode for the current node depending on the parameter.
Calling It applies to coherent clustering mechanisms only e.g. Terracotta
| |
| waitUntilClusterCoherent | back to summary |
|---|---|
| public void waitUntilClusterCoherent() throws UnsupportedOperationException, TerracottaNotRunningException, InterruptedException Implements net. Doc from net. This method waits until the cache is in coherent mode in all the connected nodes. If the cache is already in coherent mode it returns immediately It applies to coherent clustering mechanisms only e.g. Terracotta
| |