Package org.apache.hadoop.hbase.tool
Interface CanaryTool.Sink
- All Known Implementing Classes:
CanaryTool.RegionServerStdOutSink
,CanaryTool.RegionStdOutSink
,CanaryTool.StdOutSink
,CanaryTool.ZookeeperStdOutSink
- Enclosing class:
- CanaryTool
public static interface CanaryTool.Sink
Sink interface used by the canary to output information
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
long
long
long
boolean
void
stop()
void
updateReadFailures
(String regionName, String serverName) void
updateWriteFailures
(String regionName, String serverName)
-
Method Details
-
getReadFailureCount
long getReadFailureCount() -
incReadFailureCount
long incReadFailureCount() -
getReadFailures
-
updateReadFailures
-
getWriteFailureCount
long getWriteFailureCount() -
incWriteFailureCount
long incWriteFailureCount() -
getWriteFailures
-
updateWriteFailures
-
getReadSuccessCount
long getReadSuccessCount() -
incReadSuccessCount
long incReadSuccessCount() -
getWriteSuccessCount
long getWriteSuccessCount() -
incWriteSuccessCount
long incWriteSuccessCount() -
stop
void stop() -
isStopped
boolean isStopped()
-