Package com.carmatechnologies.commons.jmx.MBeans

Examples of com.carmatechnologies.commons.jmx.MBeans.Builder.objectName()


  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);
  }

  public JmxConcurrentMap(final ConcurrentMap<K, V> concurrentMap, final Builder builder) throws InstanceAlreadyExistsException, MBeanRegistrationException,
      NotCompliantMBeanException, MalformedObjectNameException {
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);
  }

  public JmxLinkedBlockingQueue(LinkedBlockingQueue<E> queue, Builder builder) throws InstanceAlreadyExistsException, MBeanRegistrationException,
      NotCompliantMBeanException, MalformedObjectNameException {
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);
  }

  public JmxConcurrentMap(final ConcurrentMap<K, V> concurrentMap, final Builder builder) throws InstanceAlreadyExistsException, MBeanRegistrationException,
      NotCompliantMBeanException, MalformedObjectNameException {
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);
  }

  public JmxLinkedBlockingQueue(LinkedBlockingQueue<E> queue, Builder builder) throws InstanceAlreadyExistsException, MBeanRegistrationException,
      NotCompliantMBeanException, MalformedObjectNameException {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.