Interface FreeList<T extends Storable>
-
- All Known Implementing Classes:
AbstractFreeList,CacheFreeList,PartitionMetaStorageImpl
public interface FreeList<T extends Storable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddumpStatistics(IgniteLogger log)voidinsertDataRow(T row, IoStatisticsHolder statHolder)voidinsertDataRows(Collection<T> rows, IoStatisticsHolder statHolder)voidremoveDataRowByLink(long link, IoStatisticsHolder statHolder)booleanupdateDataRow(long link, T row, IoStatisticsHolder statHolder)
-
-
-
Method Detail
-
insertDataRow
void insertDataRow(T row, IoStatisticsHolder statHolder) throws IgniteCheckedException
- Parameters:
row- Row.statHolder- Statistics holder to track IO operations.- Throws:
IgniteCheckedException- If failed.
-
insertDataRows
void insertDataRows(Collection<T> rows, IoStatisticsHolder statHolder) throws IgniteCheckedException
- Parameters:
rows- Rows.statHolder- Statistics holder to track IO operations.- Throws:
IgniteCheckedException- If failed.
-
updateDataRow
boolean updateDataRow(long link, T row, IoStatisticsHolder statHolder) throws IgniteCheckedException- Parameters:
link- Row link.row- New row data.statHolder- Statistics holder to track IO operations.- Returns:
Trueif was able to update row.- Throws:
IgniteCheckedException- If failed.
-
removeDataRowByLink
void removeDataRowByLink(long link, IoStatisticsHolder statHolder) throws IgniteCheckedException- Parameters:
link- Row link.statHolder- Statistics holder to track IO operations.- Throws:
IgniteCheckedException- If failed.
-
dumpStatistics
void dumpStatistics(IgniteLogger log)
- Parameters:
log- Logger.
-
-