public interface TabletCommitter
| Modifier and Type | Method and Description |
|---|---|
void |
abortCommit(CommitSession commitSession,
List<Mutation> value) |
boolean |
beginUpdatingLogsUsed(InMemoryMap memTable,
Collection<DfsLogger> copy,
boolean mincFinish)
If this method returns true, the caller must call
finishUpdatingLogsUsed() to clean up |
void |
commit(CommitSession commitSession,
List<Mutation> mutations) |
void |
finishUpdatingLogsUsed() |
Durability |
getDurability() |
KeyExtent |
getExtent()
Returns a KeyExtent object representing this tablet's key range.
|
int |
getLogId() |
TableConfiguration |
getTableConfiguration() |
void |
updateMemoryUsageStats(long estimatedSizeInBytes,
long estimatedSizeInBytes2) |
void abortCommit(CommitSession commitSession, List<Mutation> value)
void commit(CommitSession commitSession, List<Mutation> mutations)
boolean beginUpdatingLogsUsed(InMemoryMap memTable, Collection<DfsLogger> copy, boolean mincFinish)
finishUpdatingLogsUsed() to clean upvoid finishUpdatingLogsUsed()
TableConfiguration getTableConfiguration()
KeyExtent getExtent()
int getLogId()
Durability getDurability()
void updateMemoryUsageStats(long estimatedSizeInBytes,
long estimatedSizeInBytes2)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.