public class Status extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
STATUS_ERROR |
static String |
STATUS_OK |
static String |
STATUS_WARNING |
| Constructor and Description |
|---|
Status() |
Status(String statusFileLocation) |
Status(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInitFailedCheck(String checkName,
String message,
String status) |
void |
addInstanceStats(String checkName,
String instance,
int metricCount,
int serviceCheckCount,
String message,
String status) |
void |
flush() |
String |
getStatusFileLocation() |
boolean |
isEnabled() |
public static final String STATUS_WARNING
public static final String STATUS_OK
public static final String STATUS_ERROR
public Status()
public Status(String host, int port)
public Status(String statusFileLocation)
Copyright © 2019. All rights reserved.