public class BrokerAttributeInjector extends Object implements ConfiguredObjectAttributeInjector
Constructor and Description |
---|
BrokerAttributeInjector() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpHeap(Broker<?> broker,
PlatformManagedObject hotSpotDiagnosticMXBean,
Method dumpHeapMethod,
String outputFile,
boolean live) |
static long |
getGCCollectionCount(Broker<?> broker,
GarbageCollectorMXBean garbageCollectorMXBean) |
static long |
getGCCollectionTime(Broker<?> broker,
GarbageCollectorMXBean garbageCollectorMXBean) |
Collection<ConfiguredObjectInjectedAttribute<?,?>> |
getInjectedAttributes() |
Collection<ConfiguredObjectInjectedOperation<?>> |
getInjectedOperations() |
Collection<ConfiguredObjectInjectedStatistic<?,?>> |
getInjectedStatistics() |
static long |
getMemoryPoolMaximum(Broker<?> broker,
MemoryPoolMXBean memoryPoolMXBean) |
static long |
getMemoryPoolUsed(Broker<?> broker,
MemoryPoolMXBean memoryPoolMXBean) |
String |
getType() |
static void |
setJVMOptions(Broker<?> broker,
PlatformManagedObject hotSpotDiagnosticMXBean,
Method setVMOption,
Map<String,String> options) |
public Collection<ConfiguredObjectInjectedAttribute<?,?>> getInjectedAttributes()
getInjectedAttributes
in interface ConfiguredObjectAttributeInjector
public Collection<ConfiguredObjectInjectedStatistic<?,?>> getInjectedStatistics()
getInjectedStatistics
in interface ConfiguredObjectAttributeInjector
public Collection<ConfiguredObjectInjectedOperation<?>> getInjectedOperations()
getInjectedOperations
in interface ConfiguredObjectAttributeInjector
public static long getMemoryPoolUsed(Broker<?> broker, MemoryPoolMXBean memoryPoolMXBean)
public static long getMemoryPoolMaximum(Broker<?> broker, MemoryPoolMXBean memoryPoolMXBean)
public static long getGCCollectionTime(Broker<?> broker, GarbageCollectorMXBean garbageCollectorMXBean)
public static long getGCCollectionCount(Broker<?> broker, GarbageCollectorMXBean garbageCollectorMXBean)
public static void setJVMOptions(Broker<?> broker, PlatformManagedObject hotSpotDiagnosticMXBean, Method setVMOption, Map<String,String> options)
public static void dumpHeap(Broker<?> broker, PlatformManagedObject hotSpotDiagnosticMXBean, Method dumpHeapMethod, String outputFile, boolean live)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.