Uses of Class
uk.gov.gchq.gaffer.cache.exception.CacheOperationException
-
Packages that use CacheOperationException Package Description uk.gov.gchq.gaffer.cache Classes for the Gaffer cache service.uk.gov.gchq.gaffer.cache.impl The Hazelcast Gaffer cache service implementation.uk.gov.gchq.gaffer.federated.simple uk.gov.gchq.gaffer.federatedstore uk.gov.gchq.gaffer.store.operation.handler.named.cache Handlers for operations which interact with a named operation cache. -
-
Uses of CacheOperationException in uk.gov.gchq.gaffer.cache
Methods in uk.gov.gchq.gaffer.cache that throw CacheOperationException Modifier and Type Method Description void
ICache. clear()
Remove all entries from the cache.void
Cache. clearCache()
Clear the cache.default void
ICacheService. clearCache(String cacheName)
Clear the contents of the specified cache.V
ICache. get(K key)
Retrieve the value associated with the given key.V
Cache. getFromCache(String key)
Gets the requested value from the cachedefault <K,V>
VICacheService. getFromCache(String cacheName, K key)
Get the value associated with the specified cache and key.void
ICache. put(K key, V value)
Add a new key-value pair to the cache.default <K,V>
voidICacheService. putInCache(String cacheName, K key, V value)
Add a new key-value pair to the specified cache.default void
ICache. putSafe(K key, V value)
Add a new key-value pair to the cache, but only if there is existing entry associated with the specified key.default <K,V>
voidICacheService. putSafeInCache(String cacheName, K key, V value)
Add a new key-value pair to the specified cache, but only if there is no existing entry associated with the specified key. -
Uses of CacheOperationException in uk.gov.gchq.gaffer.cache.impl
Methods in uk.gov.gchq.gaffer.cache.impl that throw CacheOperationException Modifier and Type Method Description void
HazelcastCache. clear()
void
JcsCache. clear()
void
HazelcastCache. put(K key, V value)
void
JcsCache. put(K key, V value)
-
Uses of CacheOperationException in uk.gov.gchq.gaffer.federated.simple
Methods in uk.gov.gchq.gaffer.federated.simple that throw CacheOperationException Modifier and Type Method Description void
FederatedStore. changeGraphId(String graphToUpdateId, String newGraphId)
Change the graph's ID for the specified graph.GraphSerialisable
FederatedStore. getGraph(String graphId)
Get theGraphSerialisable
from a given graph ID.GraphAccess
FederatedStore. getGraphAccess(String graphId)
Get theGraphAccess
from the given graph ID.org.apache.commons.lang3.tuple.Pair<GraphSerialisable,GraphAccess>
FederatedStore. getGraphAccessPair(String graphId)
-
Uses of CacheOperationException in uk.gov.gchq.gaffer.federatedstore
Methods in uk.gov.gchq.gaffer.federatedstore that throw CacheOperationException Modifier and Type Method Description void
FederatedStoreCache. addGraphToCache(Graph graph, FederatedAccess access, boolean overwrite)
Deprecated.Add the specifiedGraph
to the cache.void
FederatedStoreCache. addGraphToCache(GraphSerialisable graphSerialisable, byte[] access, boolean overwrite)
Deprecated.void
FederatedStoreCache. addGraphToCache(GraphSerialisable graphSerialisable, FederatedAccess access, boolean overwrite)
Deprecated.Add the specifiedGraph
to the cache.void
FederatedStoreCacheTransient. addGraphToCache(Graph graph, byte[] access, boolean overwrite)
Deprecated.Add the specifiedGraph
to the cache.void
FederatedStoreCacheTransient. addGraphToCache(GraphSerialisable graphSerialisable, byte[] access, boolean overwrite)
Deprecated.Add the specifiedGraph
to the cache.void
FederatedStoreCache. clearCache()
Deprecated.byte[]
FederatedStoreCacheTransient. getAccessFromCache(String graphId)
Deprecated.GraphSerialisable
FederatedStoreCache. getGraphFromCache(String graphId)
Deprecated.Retrieve theGraphSerialisable
with the specified ID from the cache.GraphSerialisable
FederatedStoreCacheTransient. getGraphFromCache(String graphId)
Deprecated.Retrieve theGraphSerialisable
with the specified ID from the cache.GraphSerialisable
FederatedStoreCacheTransient. getGraphSerialisableFromCache(String graphId)
Deprecated.Retrieve theGraph
with the specified ID from the cache. -
Uses of CacheOperationException in uk.gov.gchq.gaffer.store.operation.handler.named.cache
Methods in uk.gov.gchq.gaffer.store.operation.handler.named.cache that throw CacheOperationException Modifier and Type Method Description void
NamedOperationCache. addNamedOperation(NamedOperationDetail namedOperation, boolean overwrite, User user)
If the user is just adding to the cache, ie the overwrite flag is set to false, then no security is added.void
NamedOperationCache. addNamedOperation(NamedOperationDetail namedOperation, boolean overwrite, User user, String adminAuth)
If the user is just adding to the cache, ie the overwrite flag is set to false, then no security is added.void
NamedViewCache. addNamedView(NamedViewDetail namedViewDetail, boolean overwrite)
Adds the suppliedNamedViewDetail
to the cache.void
NamedViewCache. addNamedView(NamedViewDetail namedViewDetail, boolean overwrite, User user, String adminAuth)
Adds the suppliedNamedViewDetail
to the cache.void
NamedViewCache. addToCache(NamedViewDetail namedView, boolean overwrite)
Add the specifiedNamedViewDetail
to the cachevoid
NamedOperationCache. deleteNamedOperation(String name, User user)
Checks whether aUser
has write access to the cache.void
NamedOperationCache. deleteNamedOperation(String name, User user, String adminAuth)
Checks whether aUser
has write access to the cache.void
NamedViewCache. deleteNamedView(String name, User user)
Removes the specifiedNamedViewDetail
from the cache.void
NamedViewCache. deleteNamedView(String name, User user, String adminAuth)
Removes the specifiedNamedViewDetail
from the cache.Iterable<NamedViewDetail>
NamedViewCache. getAllNamedViews(User user)
Gets all theNamedViewDetail
s from the cache for a user.Iterable<NamedViewDetail>
NamedViewCache. getAllNamedViews(User user, String adminAuth)
Gets all theNamedViewDetail
s from the cache for a user.NamedOperationDetail
NamedOperationCache. getFromCache(String name)
Retrieve the specified named operation from the cache.NamedViewDetail
NamedViewCache. getFromCache(String name)
Get theNamedViewDetail
related to the specified name from cacheNamedOperationDetail
NamedOperationCache. getNamedOperation(String name, User user)
First gets the NamedOperationDetail in question and checks whether the user has read access before returning the value.NamedOperationDetail
NamedOperationCache. getNamedOperation(String name, User user, String adminAuth)
First gets the NamedOperationDetail in question and checks whether the user has read access before returning the value.NamedViewDetail
NamedViewCache. getNamedView(String name, User user)
Gets the specifiedNamedViewDetail
from the cache.NamedViewDetail
NamedViewCache. getNamedView(String name, User user, String adminAuth)
Gets the specifiedNamedViewDetail
from the cache.
-