@ThreadSafe @Immutable public class Query extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Query.Builder |
| Constructor and Description |
|---|
Query(String obj,
List<String> keys,
List<String> attr,
Set<String> typeNames,
String resultAlias,
boolean useObjDomainAsKey,
boolean allowDottedKeys,
List<OutputWriter> outputWriters) |
| Modifier and Type | Method and Description |
|---|---|
static Query.Builder |
builder() |
boolean |
equals(Object o) |
com.google.common.collect.ImmutableList<String> |
getAttr() |
com.google.common.collect.ImmutableList<String> |
getKeys() |
String |
getObj()
The JMX object representation: java.lang:type=Memory
|
com.google.common.collect.ImmutableList<OutputWriter> |
getOutputWriters() |
String |
getResultAlias()
The alias allows you to specify what you would like the results of the
query to go into.
|
com.google.common.collect.ImmutableSet<String> |
getTypeNames()
The list of type names used in a JMX bean string when querying with a
wildcard which is used to expose the actual type name value to the key
string.
|
int |
hashCode() |
boolean |
isAllowDottedKeys() |
boolean |
isUseObjDomainAsKey()
The useObjDomainAsKey property allows you to specify the use of the Domain portion of the Object Name
as part of the output key instead of using the ClassName of the MBean which is the default behavior.
|
String |
toString() |
public String getObj()
public String getResultAlias()
public boolean isUseObjDomainAsKey()
public com.google.common.collect.ImmutableSet<String> getTypeNames()
public boolean isAllowDottedKeys()
@Nonnull public com.google.common.collect.ImmutableList<OutputWriter> getOutputWriters()
public static Query.Builder builder()
Copyright © 2015. All Rights Reserved.