Uses of Class
com.loomcache.common.exception.LoomException
Packages that use LoomException
Package
Description
-
Uses of LoomException in com.loomcache.client
Methods in com.loomcache.client that throw LoomExceptionModifier and TypeMethodDescriptionvoidLoomClient.deregisterLocalMapListener(String mapName, LoomClient.MapChangeListener listener) Deregister a local-only map listener.voidLoomClient.deregisterMapListener(String mapName, LoomClient.MapChangeListener listener) Unregister a listener for entry events on a specific map.voidbooleanLoomClient.mapCompareDelete(String mapName, String key, String expectedValue) booleanLoomClient.mapContainsKeyWithTimeout(String mapName, String key, Duration timeout) Check if a key exists with per-operation timeout override.boolean@Nullable StringLoomClient.mapDeleteAndGet(String mapName, String key) Atomically remove a key and return the previously associated value.booleanLoomClient.mapDeleteWithTimeout(String mapName, String key, Duration timeout) Delete a key-value pair with per-operation timeout override.<R> @Nullable RLoomClient.mapExecuteOnKey(String mapName, String key, EntryProcessor<?, ?, R> processor) @Nullable StringGet a value from a distributed map.@Nullable StringLoomClient.mapGetWithTimeout(String mapName, String key, Duration timeout) Get a key-value pair with per-operation timeout override.@Nullable StringPut a key-value pair into a distributed map.@Nullable StringLoomClient.mapPutIfAbsent(String mapName, String key, String value) Atomically put a key-value pair only if the key is not already present.@Nullable StringLoomClient.mapPutWithTimeout(String mapName, String key, String value, Duration timeout) Put a key-value pair with per-operation timeout override.@Nullable StringLoomClient.mapPutWithTtl(String mapName, String key, String value, long ttl, TimeUnit timeUnit) Store a key-value pair with server-owned entry TTL.@Nullable StringLoomClient.mapPutWithTtl(String mapName, String key, String value, Duration ttl) Store a key-value pair with server-owned entry TTL.@Nullable StringLoomClient.mapReplace(String mapName, String key, String value) booleanLoomClient.mapReplaceCas(String mapName, String key, String oldValue, String newValue) booleanLoomClient.queueOfferWithTimeout(String queueName, String item, Duration timeout) Enqueue an item with per-operation timeout override.@Nullable StringLoomClient.queuePollWithTimeout(String queueName, Duration timeout) Dequeue an item with per-operation timeout override.voidLoomClient.registerCqcListener(String mapName, LoomClient.MapChangeListener listener, SerializablePredicate predicate) Register a CQC-filtered event listener for the given map.voidLoomClient.registerLocalMapListener(String mapName, LoomClient.MapChangeListener listener) Register an entry listener on exactly one connected member.voidLoomClient.registerMapListener(String mapName, LoomClient.MapChangeListener listener) Register a listener for entry events on a specific map.booleanLoomClient.setAddWithTimeout(String setName, String element, Duration timeout) Add an element to a distributed set with per-operation timeout override.booleanLoomClient.setContainsWithTimeout(String setName, String element, Duration timeout) Check if a distributed set contains an element with per-operation timeout override.booleanLoomClient.setRemoveWithTimeout(String setName, String element, Duration timeout) Remove an element from a distributed set with per-operation timeout override.voidLoomClient.topicPublishWithTimeout(String topicName, String message, Duration timeout) Publish a message to a distributed topic with per-operation timeout override. -
Uses of LoomException in com.loomcache.common.exception
Subclasses of LoomException in com.loomcache.common.exceptionModifier and TypeClassDescriptionfinal classThrown when authentication fails.final classThrown when a cache write cannot be persisted to the configured backing store.final classThrown when a peer is backpressured (cannot accept messages).final classThrown when memory or entry limits are exceeded.final classThrown when a connection cannot be established or maintained.final classThrown when a session-bound AP data structure can no longer guarantee read-your-writes or monotonic reads for the caller's session.final classThrown when a component or phase cannot complete a graceful shutdown safely.final classThrown when a map interceptor aborts an operation by failing during execution.final classThrown when a configuration value is invalid or missing.final classThrown when a write request's pending status becomes uncertain due to leadership change.final classRaised when a client attempts to release or use a CP lock after it no longer owns it.final classThrown when lock acquisition times out.final classThrown when a non-leader node receives a write request.final classThrown when quorum is lost (majority of nodes down).final classThrown when serialization or deserialization of data fails.final classThrown when a linearizable read cannot be served (lease expired).final classThrown when an operation exceeds the configured timeout.final classRaised when a mutating operation was sent but the client cannot prove whether it committed. -
Uses of LoomException in com.loomcache.springboot.controller
Methods in com.loomcache.springboot.controller with parameters of type LoomExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<GlobalExceptionHandler.ErrorResponse> GlobalExceptionHandler.handleLoomException(LoomException ex) Handles all other LoomCache-specific exceptions.