Class SoftBPlusTree.IndexNodeOutdatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.infinispan.util.SoftBPlusTree.IndexNodeOutdatedException
- All Implemented Interfaces:
Serializable
- Enclosing class:
SoftBPlusTree<V>
Thrown by a
BPlusTree.PublishFunction or during node resolution when the underlying data
for a tree entry is no longer available — for example, because a compactor deleted the
data file between the time the index was read and the time the entry was accessed.
SoftBPlusTree retries SoftBPlusTree.get(byte[]), SoftBPlusTree.put(byte[], V), SoftBPlusTree.remove(byte[]), and
SoftBPlusTree.publish(BPlusTree.PublishFunction) up to MAX_OUTDATED_RETRIES times when this exception is thrown.
Callers should throw this instead of returning null when a missing resource
indicates a transient concurrent modification rather than a permanent error.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IndexNodeOutdatedException
-