public class ServiceState extends Object
| Modifier and Type | Field and Description |
|---|---|
private Counter |
errorCounter |
private String |
errorCounterKey |
private static org.apache.log4j.Logger |
LOGGER |
private String |
name |
private long |
previousErrorCounterValue |
private long |
previousSuccessCounterValue |
private SampledData |
sampledData |
private Counter |
successCounter |
private String |
successCounterKey |
| Constructor and Description |
|---|
ServiceState(String name,
String successCounterKey,
String errorCounterKey) |
private static final org.apache.log4j.Logger LOGGER
private final String name
private final String successCounterKey
private final String errorCounterKey
private long previousSuccessCounterValue
private long previousErrorCounterValue
private Counter successCounter
private Counter errorCounter
private SampledData sampledData
public void check()
public void checkForReportable(Reportable reportable)
public String getName()
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.