Package org.infinispan.persistence.sifs
Class TemporaryTable
- java.lang.Object
-
- org.infinispan.persistence.sifs.TemporaryTable
-
public class TemporaryTable extends Object
Table holding the entry positions in log before these are persisted to the index.- Author:
- Radim Vansa <rvansa@redhat.com>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TemporaryTable.LockedEntry
-
Constructor Summary
Constructors Constructor Description TemporaryTable(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
org.infinispan.persistence.sifs.EntryPosition
get(Object key)
void
removeAndUnlock(TemporaryTable.LockedEntry lockedEntry, Object key)
void
removeConditionally(Object key, int file, int offset)
TemporaryTable.LockedEntry
replaceOrLock(Object key, int file, int offset, int prevFile, int prevOffset)
void
set(Object key, int file, int offset)
void
updateAndUnlock(TemporaryTable.LockedEntry lockedEntry, int file, int offset)
-
-
-
Method Detail
-
set
public void set(Object key, int file, int offset)
-
replaceOrLock
public TemporaryTable.LockedEntry replaceOrLock(Object key, int file, int offset, int prevFile, int prevOffset)
-
updateAndUnlock
public void updateAndUnlock(TemporaryTable.LockedEntry lockedEntry, int file, int offset)
-
removeAndUnlock
public void removeAndUnlock(TemporaryTable.LockedEntry lockedEntry, Object key)
-
get
public org.infinispan.persistence.sifs.EntryPosition get(Object key)
-
clear
public void clear()
-
removeConditionally
public void removeConditionally(Object key, int file, int offset)
-
-