Package io.permazen.kv.mvcc
Class ReadRemoveConflict
java.lang.Object
io.permazen.kv.mvcc.Conflict
io.permazen.kv.mvcc.ReadRemoveConflict
Represents an MVCC conflict in which a key or range of keys that was read in one transaction was removed
in another, simultaneous transaction.
Instances are immutable.
- See Also:
-
Constructor Summary
ConstructorDescriptionReadRemoveConflict
(byte[] key) Constructor.ReadRemoveConflict
(KeyRange range) Constructor. -
Method Summary
-
Constructor Details
-
ReadRemoveConflict
public ReadRemoveConflict(byte[] key) Constructor.- Parameters:
key
- the single key that conflicted- Throws:
IllegalArgumentException
- ifkey
is null
-
ReadRemoveConflict
Constructor.- Parameters:
range
- the range of keys that conflict- Throws:
IllegalArgumentException
- ifrange
is null
-
-
Method Details