Package com.carmatechnologies.commons.jmx.MBeans

Examples of com.carmatechnologies.commons.jmx.MBeans.Builder


  public JmxConcurrentMap(final ConcurrentMap<K, V> concurrentMap) throws InstanceAlreadyExistsException, MBeanRegistrationException,
      NotCompliantMBeanException, MalformedObjectNameException {
    checkNotNull(concurrentMap, "Concurrent map must NOT be null in order to be JMX-decorated.");
    this.map = concurrentMap;
    final Builder builder = new Builder(this);
    this.objectName = new ObjectName(builder.objectName());
    MBeans.register(builder);
  }
View Full Code Here


  public JmxLinkedBlockingQueue(final LinkedBlockingQueue<E> queue) throws InstanceAlreadyExistsException, MBeanRegistrationException,
      NotCompliantMBeanException, MalformedObjectNameException {
    checkNotNull(queue, "Linked blocking queue must NOT be null in order to be JMX-decorated.");
    this.queue = queue;
    final Builder builder = new Builder(this);
    this.objectName = new ObjectName(builder.objectName());
    MBeans.register(builder);
  }
View Full Code Here

  public JmxConcurrentMap(final ConcurrentMap<K, V> concurrentMap) throws InstanceAlreadyExistsException, MBeanRegistrationException,
      NotCompliantMBeanException, MalformedObjectNameException {
    checkNotNull(concurrentMap, "Concurrent map must NOT be null in order to be JMX-decorated.");
    this.map = concurrentMap;
    final Builder builder = new Builder(this);
    this.objectName = new ObjectName(builder.objectName());
    MBeans.register(builder);
  }
View Full Code Here

  public JmxLinkedBlockingQueue(final LinkedBlockingQueue<E> queue) throws InstanceAlreadyExistsException, MBeanRegistrationException,
      NotCompliantMBeanException, MalformedObjectNameException {
    checkNotNull(queue, "Linked blocking queue must NOT be null in order to be JMX-decorated.");
    this.queue = queue;
    final Builder builder = new Builder(this);
    this.objectName = new ObjectName(builder.objectName());
    MBeans.register(builder);
  }
View Full Code Here

TOP

Related Classes of com.carmatechnologies.commons.jmx.MBeans.Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.