public class Instance extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE |
static String |
PROCESS_NAME_REGEX |
| Constructor and Description |
|---|
Instance(Instance instance,
AppConfig appConfig) |
Instance(LinkedHashMap<String,Object> instanceMap,
LinkedHashMap<String,Object> initConfig,
String checkName,
AppConfig appConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
LinkedList<String> |
getBeansScopes() |
boolean |
getCanonicalRateConfig() |
String |
getCheckName() |
Connection |
getConnection(LinkedHashMap<String,Object> connectionParams,
boolean forceNewConnection) |
int |
getMaxNumberOfMetrics() |
LinkedList<HashMap<String,Object>> |
getMetrics() |
String |
getName() |
String[] |
getServiceCheckTags() |
void |
init(boolean forceNewConnection) |
boolean |
isLimitReached() |
boolean |
timeToCollect() |
String |
toString() |
public static final String PROCESS_NAME_REGEX
public static final String ATTRIBUTE
public Instance(LinkedHashMap<String,Object> instanceMap, LinkedHashMap<String,Object> initConfig, String checkName, AppConfig appConfig)
public boolean getCanonicalRateConfig()
public Connection getConnection(LinkedHashMap<String,Object> connectionParams, boolean forceNewConnection) throws IOException
IOExceptionpublic void init(boolean forceNewConnection)
throws IOException,
FailedLoginException,
SecurityException
public LinkedList<HashMap<String,Object>> getMetrics() throws IOException
IOExceptionpublic boolean timeToCollect()
public LinkedList<String> getBeansScopes()
public String[] getServiceCheckTags()
public String getName()
public String getCheckName()
public int getMaxNumberOfMetrics()
public boolean isLimitReached()
public void cleanUp()
Copyright © 2019. All rights reserved.