public interface SegmentNodeStoreMonitor
| Modifier and Type | Field and Description |
|---|---|
static SegmentNodeStoreMonitor |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
void |
committedAfter(long time)
Notifies the monitor time spent (excluding queuing time) for a commit.
|
void |
dequeuedAfter(long time)
Notifies the monitor time spent in the queue for a commit, before being processed.
|
void |
onCommit()
Notifies the monitor when a new commit was persisted right away
|
void |
onCommitDequeued()
Notifies the monitor when a queued commit was dequeued for processing.
|
void |
onCommitQueued()
Notifies the monitor when a new commit couldn't be persisted, but was
queued for later retry
|
static final SegmentNodeStoreMonitor DEFAULT
void onCommit()
void onCommitQueued()
void onCommitDequeued()
void committedAfter(long time)
time - the time spentvoid dequeuedAfter(long time)
time - the time spentCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.