- Ganglia - Class in com.googlecode.jmxtrans.example
-
This class hits a Graphite server running on port 2003 and sends the memory
usage data to it for graphing.
- Ganglia() - Constructor for class com.googlecode.jmxtrans.example.Ganglia
-
- GangliaWriter - Class in com.googlecode.jmxtrans.model.output
-
- GangliaWriter() - Constructor for class com.googlecode.jmxtrans.model.output.GangliaWriter
-
- GENERATE - Static variable in class com.googlecode.jmxtrans.model.output.RRDToolWriter
-
- genVelocityOutput(List<JmxProcess>) - Method in class com.googlecode.jmxtrans.model.output.VelocityWriter
-
Uses velocity to generate output for a List of JmxProcess.
- getAlias() - Method in class com.googlecode.jmxtrans.model.Server
-
Some writers (GraphiteWriter) use the alias in generation of the unique
key which references this server.
- getAttr() - Method in class com.googlecode.jmxtrans.model.Query
-
- getAttributeName() - Method in class com.googlecode.jmxtrans.model.Result
-
- getBooleanSetting(String) - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
Returns a boolean value for the key, defaults to false if not specified.
- getBooleanSetting(String, Boolean) - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
Gets a Boolean value for the key, returning the default value given if
not specified or not a valid boolean value.
- getClassName() - Method in class com.googlecode.jmxtrans.model.Result
-
- getClassNameAlias() - Method in class com.googlecode.jmxtrans.model.Result
-
Specified as part of the query.
- getConcatedTypeNameValues(String) - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
Given a typeName string, get the first match from the typeNames setting.
- getConcatedTypeNameValues(List<String>, String) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Given a typeName string, get the first match from the typeNames setting.
- getConcatedTypeNameValues(Query, List<String>, String) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Given a typeName string, get the first match from the typeNames setting.
- getConnectionId() - Method in class com.googlecode.jmxtrans.util.LocalJMXConnector
-
- getCronExpression() - Method in class com.googlecode.jmxtrans.model.Server
-
Each server can set a cronExpression for the scheduler.
- getDatabaseTemplateSpec() - Method in class com.googlecode.jmxtrans.model.output.RRDToolWriter
-
If the database file doesn't exist, it'll get created, otherwise, it'll
be returned in r/w mode.
- getDataSourceName(String, String, String) - Method in class com.googlecode.jmxtrans.model.output.RRDToolWriter
-
rrd datasources must be less than 21 characters in length, so work to
make it shorter.
- getDefaultPoolMap() - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Helper method which returns a default PoolMap.
- getEnvironment(Server) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Generates the proper username/password environment for JMX connections.
- getEpoch() - Method in class com.googlecode.jmxtrans.model.Result
-
- getHost() - Method in class com.googlecode.jmxtrans.model.Server
-
- getIntegerSetting(String, Integer) - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
Gets an Integer value for the key, returning the default value given if
not specified or not a valid numeric value.
- getJmxProcess() - Method in class com.googlecode.jmxtrans.model.Server
-
The parent container in json
- getJmxProcess(File) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Uses jackson to load json configuration from a File into a full object
tree representation of that json.
- getJsonDirOrFile() - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- getJsonDirOrFile() - Method in interface com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcessMBean
-
Gets the json dir or file.
- getJsonDirOrFile() - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Gets the json dir or file.
- getKeys() - Method in class com.googlecode.jmxtrans.model.Query
-
- getKeyString(Query, Result, Map.Entry<String, Object>, List<String>, String) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Gets the key string.
- getKeyString2(Query, Result, Map.Entry<String, Object>, List<String>, String) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
- getLocalMBeanServer() - Method in class com.googlecode.jmxtrans.model.Server
-
- getMaxActive() - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- getMaxActive() - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
Gets the max active.
- getMaxIdle() - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- getMaxIdle() - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- getMaxWait() - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- getMaxWait() - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- getMBeanServerConnection() - Method in class com.googlecode.jmxtrans.util.LocalJMXConnector
-
- getMBeanServerConnection(Subject) - Method in class com.googlecode.jmxtrans.util.LocalJMXConnector
-
- getMinIdle() - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- getMinIdle() - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- getName() - Method in class com.googlecode.jmxtrans.model.JmxProcess
-
- getNumActive() - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- getNumActive() - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- getNumIdle() - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- getNumIdle() - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- getNumMultiThreadedServers() - Method in class com.googlecode.jmxtrans.model.JmxProcess
-
- getNumQueryThreads() - Method in class com.googlecode.jmxtrans.model.Server
-
The number of query threads for this server.
- getObj() - Method in class com.googlecode.jmxtrans.model.Query
-
The JMX object representation: java.lang:type=Memory
- getObjectName() - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- getObjectName() - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- getObjectName() - Method in interface com.googlecode.jmxtrans.jmx.ManagedObject
-
Gets the object name.
- getObjectPool(T) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Gets the object pool.
- getOptions() - Method in class com.googlecode.jmxtrans.JmxTransformer
-
- getOutputWriters() - Method in class com.googlecode.jmxtrans.model.Query
-
- getPassword() - Method in class com.googlecode.jmxtrans.model.Server
-
- getPoolName() - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
Gets the pool name.
- getPort() - Method in class com.googlecode.jmxtrans.model.Server
-
- getProtocolProviderPackages() - Method in class com.googlecode.jmxtrans.model.Server
-
This is some obtuse shit for enabling weblogic support.
- getQuartPropertiesFile() - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- getQuartPropertiesFile() - Method in interface com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcessMBean
-
Gets the quart properties file.
- getQuartPropertiesFile() - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Gets the quart properties file.
- getQueries() - Method in class com.googlecode.jmxtrans.model.Server
-
- getQuery() - Method in class com.googlecode.jmxtrans.model.Result
-
- getQuery() - Method in exception com.googlecode.jmxtrans.util.ValidationException
-
- getResultAlias() - Method in class com.googlecode.jmxtrans.model.Query
-
The alias allows you to specify what you would like the results of the
query to go into.
- getResults() - Method in class com.googlecode.jmxtrans.model.Query
-
We don't want Jackson to serialize the results if they exist.
- getResults() - Method in class com.googlecode.jmxtrans.model.Server
-
If there are queries and results that have been executed, this is just a
shortcut to get all the Results.
- getRunPeriod() - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- getRunPeriod() - Method in interface com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcessMBean
-
Gets the run period.
- getRunPeriod() - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Gets the run period.
- getServer() - Method in class com.googlecode.jmxtrans.model.Query
-
- getServerConnection(Server) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Helper method for connecting to a Server.
- getServers() - Method in class com.googlecode.jmxtrans.model.JmxProcess
-
- getSettings() - Method in interface com.googlecode.jmxtrans.OutputWriter
-
Settings allow you to configure your Writers with whatever they might
need.
- getSettings() - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
- getSpoofedHostName(String, String) - Static method in class com.googlecode.jmxtrans.model.output.GangliaWriter
-
Determines the spoofed host name to be used when emitting metrics to a
gmond process.
- getStringSetting(String, String) - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
Gets a String value for the setting, returning the default value if not
specified.
- getTypeName() - Method in class com.googlecode.jmxtrans.model.Result
-
- getTypeNames() - Method in class com.googlecode.jmxtrans.model.Query
-
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.
- getTypeNames() - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
- getUrl() - Method in class com.googlecode.jmxtrans.model.Server
-
The jmx url to connect to.
- getUsername() - Method in class com.googlecode.jmxtrans.model.Server
-
- getValues() - Method in class com.googlecode.jmxtrans.model.Result
-
- getVelocityEngine(List<String>) - Method in class com.googlecode.jmxtrans.model.output.VelocityWriter
-
Sets velocity up to load resources from a list of paths.
- getWebLogicEnvironment(Server) - Static method in class com.googlecode.jmxtrans.util.JmxUtils
-
Generates the proper username/password environment for JMX connections.
- Graphite - Class in com.googlecode.jmxtrans.example
-
This class hits a Graphite server running on port 2003 and sends the memory
usage data to it for graphing.
- Graphite() - Constructor for class com.googlecode.jmxtrans.example.Graphite
-
- GraphiteWriter - Class in com.googlecode.jmxtrans.model.output
-
This output writer sends data to a host/port combination in the Graphite
format.
- GraphiteWriter() - Constructor for class com.googlecode.jmxtrans.model.output.GraphiteWriter
-
Uses JmxUtils.getDefaultPoolMap()
- GROUP_NAME - Static variable in class com.googlecode.jmxtrans.model.output.GangliaWriter
-
- groupName - Variable in class com.googlecode.jmxtrans.model.output.GangliaWriter
-
- Server - Class in com.googlecode.jmxtrans.model
-
Represents a jmx server that we want to connect to.
- Server() - Constructor for class com.googlecode.jmxtrans.model.Server
-
- Server(String, String) - Constructor for class com.googlecode.jmxtrans.model.Server
-
- Server(String, String, Query) - Constructor for class com.googlecode.jmxtrans.model.Server
-
- ServerJob - Class in com.googlecode.jmxtrans.jobs
-
This is a quartz job that is responsible for executing a Server object on a
cron schedule that is defined within the Server object.
- ServerJob() - Constructor for class com.googlecode.jmxtrans.jobs.ServerJob
-
- setAlias(String) - Method in class com.googlecode.jmxtrans.model.Server
-
Some writers (GraphiteWriter) use the alias in generation of the unique
key which references this server.
- setAttr(List<String>) - Method in class com.googlecode.jmxtrans.model.Query
-
- setAttributeName(String) - Method in class com.googlecode.jmxtrans.model.Result
-
- setClassName(String) - Method in class com.googlecode.jmxtrans.model.Result
-
- setCronExpression(String) - Method in class com.googlecode.jmxtrans.model.Server
-
Each server can set a cronExpression for the scheduler.
- setEpoch(long) - Method in class com.googlecode.jmxtrans.model.Result
-
- setHost(String) - Method in class com.googlecode.jmxtrans.model.Server
-
- setJmxProcess(JmxProcess) - Method in class com.googlecode.jmxtrans.model.Server
-
The parent container in json
- setJsonDirOrFile(File) - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- setJsonDirOrFile(File) - Method in interface com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcessMBean
-
Sets the json dir or file.
- setJsonDirOrFile(File) - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Sets the json dir or file.
- setKeys(List<String>) - Method in class com.googlecode.jmxtrans.model.Query
-
- setLocal(boolean) - Method in class com.googlecode.jmxtrans.model.Server
-
- setLocalMBeanServer(MBeanServer) - Method in class com.googlecode.jmxtrans.model.Server
-
- setMaxActive(int) - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- setMaxActive(int) - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- setMaxIdle(int) - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- setMaxIdle(int) - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- setMaxWait(long) - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- setMaxWait(long) - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- setMinIdle(int) - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- setMinIdle(int) - Method in interface com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPoolMBean
-
- setName(String) - Method in class com.googlecode.jmxtrans.model.JmxProcess
-
- setNumMultiThreadedServers(Integer) - Method in class com.googlecode.jmxtrans.model.JmxProcess
-
Set this if you want each JmxProcess to run in its own thread up to the
count you set.
- setNumQueryThreads(Integer) - Method in class com.googlecode.jmxtrans.model.Server
-
The number of query threads for this server.
- setObj(String) - Method in class com.googlecode.jmxtrans.model.Query
-
The JMX object representation: java.lang:type=Memory
- setObjectName(ObjectName) - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- setObjectName(String) - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
- setObjectName(ObjectName) - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- setObjectName(String) - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- setObjectName(ObjectName) - Method in interface com.googlecode.jmxtrans.jmx.ManagedObject
-
Sets the object name.
- setObjectName(String) - Method in interface com.googlecode.jmxtrans.jmx.ManagedObject
-
Sets the object name.
- setObjectPoolMap(Map<String, KeyedObjectPool>) - Method in interface com.googlecode.jmxtrans.OutputWriter
-
Some writers, like GraphiteWriter will use this for object pooling.
- setObjectPoolMap(Map<String, KeyedObjectPool>) - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
A do nothing method.
- setOutputWriters(List<OutputWriter>) - Method in class com.googlecode.jmxtrans.model.Query
-
- setPassword(String) - Method in class com.googlecode.jmxtrans.model.Server
-
- setPoolName(String) - Method in class com.googlecode.jmxtrans.jmx.ManagedGenericKeyedObjectPool
-
Sets the pool name.
- setPort(String) - Method in class com.googlecode.jmxtrans.model.Server
-
- setProtocolProviderPackages(String) - Method in class com.googlecode.jmxtrans.model.Server
-
This is some obtuse shit for enabling weblogic support.
- setQuartPropertiesFile(String) - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- setQuartPropertiesFile(String) - Method in interface com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcessMBean
-
Sets the quart properties file.
- setQuartPropertiesFile(String) - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Sets the quart properties file.
- setQueries(List<Query>) - Method in class com.googlecode.jmxtrans.model.Server
-
Won't add the same query (determined by equals()) 2x.
- setQuery(Query) - Method in class com.googlecode.jmxtrans.model.Result
-
- setResultAlias(String) - Method in class com.googlecode.jmxtrans.model.Query
-
The alias allows you to specify what you would like the results of the
query to go into.
- setResults(List<Result>) - Method in class com.googlecode.jmxtrans.model.Query
-
- setRunEndlessly(boolean) - Method in class com.googlecode.jmxtrans.JmxTransformer
-
If this is true, then this class will execute the main() loop and then
wait 60 seconds until running again.
- setRunPeriod(int) - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- setRunPeriod(int) - Method in interface com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcessMBean
-
Sets the run period.
- setRunPeriod(int) - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Sets the run period.
- setServer(Server) - Method in class com.googlecode.jmxtrans.model.Query
-
- setServers(List<Server>) - Method in class com.googlecode.jmxtrans.model.JmxProcess
-
- setSettings(Map<String, Object>) - Method in interface com.googlecode.jmxtrans.OutputWriter
-
Settings allow you to configure your Writers with whatever they might
need.
- setSettings(Map<String, Object>) - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
- setTypeName(String) - Method in class com.googlecode.jmxtrans.model.Result
-
- setTypeNames(Set<String>) - Method in class com.googlecode.jmxtrans.model.Query
-
- setTypeNames(List<String>) - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
- setupObjectPooling() - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Override this method if you'd like to add your own object pooling.
- setUrl(String) - Method in class com.googlecode.jmxtrans.model.Server
-
- setUsername(String) - Method in class com.googlecode.jmxtrans.model.Server
-
- setValues(Map<String, Object>) - Method in class com.googlecode.jmxtrans.model.Result
-
- SignalInterceptor - Class in com.googlecode.jmxtrans.util
-
- SignalInterceptor() - Constructor for class com.googlecode.jmxtrans.util.SignalInterceptor
-
- SLOPE - Static variable in class com.googlecode.jmxtrans.model.output.GangliaWriter
-
- slope - Variable in class com.googlecode.jmxtrans.model.output.GangliaWriter
-
- SOCKET_FACTORY_POOL - Static variable in class com.googlecode.jmxtrans.model.Server
-
- SocketFactory - Class in com.googlecode.jmxtrans.util
-
Allows us to pool socket connections.
- SocketFactory() - Constructor for class com.googlecode.jmxtrans.util.SocketFactory
-
constructor
- SPOOF_NAME - Static variable in class com.googlecode.jmxtrans.model.output.GangliaWriter
-
- spoofedHostName - Variable in class com.googlecode.jmxtrans.model.output.GangliaWriter
-
- start() - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- start() - Method in interface com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcessMBean
-
Start the JmxProcess.
- start() - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Start.
- start() - Method in class com.googlecode.jmxtrans.model.output.GraphiteWriter
-
- start() - Method in class com.googlecode.jmxtrans.model.output.StatsDWriter
-
- start() - Method in interface com.googlecode.jmxtrans.OutputWriter
-
- start() - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
A do nothing method.
- StatsDWriter - Class in com.googlecode.jmxtrans.model.output
-
This output writer sends data to a host/port combination in the StatsD
format.
- StatsDWriter() - Constructor for class com.googlecode.jmxtrans.model.output.StatsDWriter
-
Uses JmxUtils.getDefaultPoolMap()
- StdOutWriter - Class in com.googlecode.jmxtrans.model.output
-
Basic filter good for testing that just outputs the Result objects using
System.out.
- StdOutWriter() - Constructor for class com.googlecode.jmxtrans.model.output.StdOutWriter
-
- stop() - Method in class com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcess
-
- stop() - Method in interface com.googlecode.jmxtrans.jmx.ManagedJmxTransformerProcessMBean
-
Stop the JmxProcess.
- stop() - Method in class com.googlecode.jmxtrans.JmxTransformer
-
Stop.
- stop() - Method in class com.googlecode.jmxtrans.model.output.GraphiteWriter
-
- stop() - Method in class com.googlecode.jmxtrans.model.output.StatsDWriter
-
- stop() - Method in interface com.googlecode.jmxtrans.OutputWriter
-
- stop() - Method in class com.googlecode.jmxtrans.util.BaseOutputWriter
-
A do nothing method.
- stopService() - Method in class com.googlecode.jmxtrans.util.WatchDir
-