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 voidICache. clear()Remove all entries from the cache.voidCache. clearCache()Clear the cache.default voidICacheService. clearCache(String cacheName)Clear the contents of the specified cache.VICache. get(K key)Retrieve the value associated with the given key.VCache. 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.voidICache. 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 voidICache. 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 voidHazelcastCache. clear()voidJcsCache. clear()voidHazelcastCache. put(K key, V value)voidJcsCache. 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 voidFederatedStore. changeGraphAccess(String graphId, GraphAccess newAccess)Updates a graph access by overwriting the access for that graph stored in the cache.voidFederatedStore. changeGraphId(String graphToUpdateId, String newGraphId)Change the graph's ID for the specified graph.GraphSerialisableFederatedStore. getGraph(String graphId)Get theGraphSerialisablefrom a given graph ID.GraphAccessFederatedStore. getGraphAccess(String graphId)Get theGraphAccessfrom 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 voidFederatedStoreCache. addGraphToCache(Graph graph, FederatedAccess access, boolean overwrite)Deprecated.Add the specifiedGraphto the cache.voidFederatedStoreCache. addGraphToCache(GraphSerialisable graphSerialisable, byte[] access, boolean overwrite)Deprecated.voidFederatedStoreCache. addGraphToCache(GraphSerialisable graphSerialisable, FederatedAccess access, boolean overwrite)Deprecated.Add the specifiedGraphto the cache.voidFederatedStoreCacheTransient. addGraphToCache(Graph graph, byte[] access, boolean overwrite)Deprecated.Add the specifiedGraphto the cache.voidFederatedStoreCacheTransient. addGraphToCache(GraphSerialisable graphSerialisable, byte[] access, boolean overwrite)Deprecated.Add the specifiedGraphto the cache.voidFederatedStoreCache. clearCache()Deprecated.byte[]FederatedStoreCacheTransient. getAccessFromCache(String graphId)Deprecated.GraphSerialisableFederatedStoreCache. getGraphFromCache(String graphId)Deprecated.Retrieve theGraphSerialisablewith the specified ID from the cache.GraphSerialisableFederatedStoreCacheTransient. getGraphFromCache(String graphId)Deprecated.Retrieve theGraphSerialisablewith the specified ID from the cache.GraphSerialisableFederatedStoreCacheTransient. getGraphSerialisableFromCache(String graphId)Deprecated.Retrieve theGraphwith 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 voidNamedOperationCache. 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.voidNamedOperationCache. 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.voidNamedViewCache. addNamedView(NamedViewDetail namedViewDetail, boolean overwrite)Adds the suppliedNamedViewDetailto the cache.voidNamedViewCache. addNamedView(NamedViewDetail namedViewDetail, boolean overwrite, User user, String adminAuth)Adds the suppliedNamedViewDetailto the cache.voidNamedViewCache. addToCache(NamedViewDetail namedView, boolean overwrite)Add the specifiedNamedViewDetailto the cachevoidNamedOperationCache. deleteNamedOperation(String name, User user)Checks whether aUserhas write access to the cache.voidNamedOperationCache. deleteNamedOperation(String name, User user, String adminAuth)Checks whether aUserhas write access to the cache.voidNamedViewCache. deleteNamedView(String name, User user)Removes the specifiedNamedViewDetailfrom the cache.voidNamedViewCache. deleteNamedView(String name, User user, String adminAuth)Removes the specifiedNamedViewDetailfrom the cache.Iterable<NamedViewDetail>NamedViewCache. getAllNamedViews(User user)Gets all theNamedViewDetails from the cache for a user.Iterable<NamedViewDetail>NamedViewCache. getAllNamedViews(User user, String adminAuth)Gets all theNamedViewDetails from the cache for a user.NamedOperationDetailNamedOperationCache. getFromCache(String name)Retrieve the specified named operation from the cache.NamedViewDetailNamedViewCache. getFromCache(String name)Get theNamedViewDetailrelated to the specified name from cacheNamedOperationDetailNamedOperationCache. getNamedOperation(String name, User user)First gets the NamedOperationDetail in question and checks whether the user has read access before returning the value.NamedOperationDetailNamedOperationCache. 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.NamedViewDetailNamedViewCache. getNamedView(String name, User user)Gets the specifiedNamedViewDetailfrom the cache.NamedViewDetailNamedViewCache. getNamedView(String name, User user, String adminAuth)Gets the specifiedNamedViewDetailfrom the cache.
-