Package org.apache.qpid.server.model
Class BrokerAttributeInjector
- java.lang.Object
-
- org.apache.qpid.server.model.BrokerAttributeInjector
-
- All Implemented Interfaces:
ConfiguredObjectAttributeInjector
,Pluggable
public class BrokerAttributeInjector extends Object implements ConfiguredObjectAttributeInjector
-
-
Constructor Summary
Constructors Constructor Description BrokerAttributeInjector()
-
Method Summary
-
-
-
Method Detail
-
getTypeValidator
public InjectedAttributeStatisticOrOperation.TypeValidator getTypeValidator()
- Specified by:
getTypeValidator
in interfaceConfiguredObjectAttributeInjector
-
getInjectedAttributes
public Collection<ConfiguredObjectInjectedAttribute<?,?>> getInjectedAttributes()
- Specified by:
getInjectedAttributes
in interfaceConfiguredObjectAttributeInjector
-
getInjectedStatistics
public Collection<ConfiguredObjectInjectedStatistic<?,?>> getInjectedStatistics()
- Specified by:
getInjectedStatistics
in interfaceConfiguredObjectAttributeInjector
-
getInjectedOperations
public Collection<ConfiguredObjectInjectedOperation<?>> getInjectedOperations()
- Specified by:
getInjectedOperations
in interfaceConfiguredObjectAttributeInjector
-
getMemoryPoolUsed
public static long getMemoryPoolUsed(Broker<?> broker, MemoryPoolMXBean memoryPoolMXBean)
-
getMemoryPoolMaximum
public static long getMemoryPoolMaximum(Broker<?> broker, MemoryPoolMXBean memoryPoolMXBean)
-
getGCCollectionTime
public static long getGCCollectionTime(Broker<?> broker, GarbageCollectorMXBean garbageCollectorMXBean)
-
getGCCollectionCount
public static long getGCCollectionCount(Broker<?> broker, GarbageCollectorMXBean garbageCollectorMXBean)
-
setJVMOptions
public static void setJVMOptions(Broker<?> broker, PlatformManagedObject hotSpotDiagnosticMXBean, Method setVMOption, Map<String,String> options)
-
dumpHeap
public static void dumpHeap(Broker<?> broker, PlatformManagedObject hotSpotDiagnosticMXBean, Method dumpHeapMethod, String outputFile, boolean live)
-
-