Package org.infinispan.persistence.sifs
Class TemporaryTable
java.lang.Object
org.infinispan.persistence.sifs.TemporaryTable
Table holding the entry positions in log before these are persisted to the index.
- Author:
- Radim Vansa <rvansa@redhat.com>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSegments
(IntSet segments) void
clear()
org.infinispan.persistence.sifs.EntryPosition
int
void
removeAndUnlock
(TemporaryTable.LockedEntry lockedEntry, int segment, Object key) void
removeConditionally
(int segment, Object key, int file, int offset) void
removeSegments
(IntSet segments) replaceOrLock
(int segment, Object key, int file, int offset, int prevFile, int prevOffset) boolean
void
updateAndUnlock
(TemporaryTable.LockedEntry lockedEntry, int file, int offset)
-
Constructor Details
-
TemporaryTable
public TemporaryTable(int numSegments)
-
-
Method Details
-
getSegmentMax
public int getSegmentMax() -
addSegments
-
removeSegments
-
set
-
replaceOrLock
public TemporaryTable.LockedEntry replaceOrLock(int segment, Object key, int file, int offset, int prevFile, int prevOffset) -
updateAndUnlock
-
removeAndUnlock
-
get
-
clear
public void clear() -
removeConditionally
-