public static class Canary.StdOutSink extends Object implements Canary.Sink
Constructor and Description |
---|
StdOutSink() |
Modifier and Type | Method and Description |
---|---|
long |
getReadFailureCount() |
Map<String,String> |
getReadFailures() |
long |
getWriteFailureCount() |
Map<String,String> |
getWriteFailures() |
long |
incReadFailureCount() |
long |
incWriteFailureCount() |
void |
updateReadFailures(String regionName,
String serverName) |
void |
updateWriteFailures(String regionName,
String serverName) |
public long getReadFailureCount()
getReadFailureCount
in interface Canary.Sink
public long incReadFailureCount()
incReadFailureCount
in interface Canary.Sink
public Map<String,String> getReadFailures()
getReadFailures
in interface Canary.Sink
public void updateReadFailures(String regionName, String serverName)
updateReadFailures
in interface Canary.Sink
public long getWriteFailureCount()
getWriteFailureCount
in interface Canary.Sink
public long incWriteFailureCount()
incWriteFailureCount
in interface Canary.Sink
public Map<String,String> getWriteFailures()
getWriteFailures
in interface Canary.Sink
public void updateWriteFailures(String regionName, String serverName)
updateWriteFailures
in interface Canary.Sink
Copyright © 2007–2019 Cloudera. All rights reserved.