Package com.sun.enterprise.admin.monitor.stats

Examples of com.sun.enterprise.admin.monitor.stats.MutableBoundedRangeStatisticImpl


    protected void initialize() {
  super.initialize("com.sun.enterprise.admin.monitor.stats.EJBPoolStats");

  jmsStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("JmsMaxMessagesLoad"));
  beansInPoolStat = new MutableBoundedRangeStatisticImpl(
    new BoundedRangeStatisticImpl("NumBeansInPool",
        "Count", 0, delegate.getMaxPoolSize(),
        delegate.getSteadyPoolSize()));
  threadStat = new MutableBoundedRangeStatisticImpl(
    new BoundedRangeStatisticImpl("NumThreadsWaiting"));
  createdStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("TotalBeansCreated"));
  destroyedStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("TotalBeansDestroyed"));
View Full Code Here


  super(delegate, intfName);
  this.sessionDelegate = delegate;
    }

    protected void initSessionStats() {
  methodReadyCountStat = new MutableBoundedRangeStatisticImpl(
      new BoundedRangeStatisticImpl("MethodReadyCount",
    "Count", 0, getMaxReadyCount(), getMinReadyCount()));
    }
View Full Code Here

  initSessionStats();
    }

    protected void initSessionStats() {
  super.initSessionStats();
  passivateCountStat = new MutableBoundedRangeStatisticImpl(
      new BoundedRangeStatisticImpl("PassiveCount"));
    }
View Full Code Here

    }

    protected void initialize() {
  super.initialize("com.sun.enterprise.admin.monitor.stats.EJBCacheStats");

  cacheHits = new MutableBoundedRangeStatisticImpl(
    new BoundedRangeStatisticImpl("CacheHits"));
  cacheMisses = new MutableBoundedRangeStatisticImpl(
    new BoundedRangeStatisticImpl("CacheMisses"));
  numBeans = new MutableBoundedRangeStatisticImpl(
    new BoundedRangeStatisticImpl("NumBeansInCache",
       "Count", 0, delegate.getMaxCacheSize(), 0));
  expiredStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("NumExpiredSessionsRemoved"));
  passivationErrors = new MutableCountStatisticImpl(
View Full Code Here

    protected void initialize() {

  long now = System.currentTimeMillis();

  synchronized (currentSizeLock) {
      currentSize = new MutableBoundedRangeStatisticImpl(
        new BoundedRangeStatisticImpl(0, 0, Long.MAX_VALUE,
      Long.MAX_VALUE, 0, "CurrentSize",
      "bytes", "Number of sessions in store", now, now)
      );
  }
View Full Code Here

  initStats();
    }

    private void initStats() {
  pooledCountStat = new MutableBoundedRangeStatisticImpl(
      new BoundedRangeStatisticImpl("PooledCount",
    "Count", 0, entityDelegate.getMaxPoolSize(),
    entityDelegate.getSteadyPoolSize()));
  readyCountStat = new MutableBoundedRangeStatisticImpl(
      new BoundedRangeStatisticImpl("ReadyCount",
    "Count", 0, entityDelegate.getMaxCacheSize(), 0));
    }
View Full Code Here

                    threadPool.getAttribute( stringNumberOfAvailableThreads ).
                    getAttributeInfo().getDescription(),
                    time, time ));

        currentNumberOfThreads =
            new MutableBoundedRangeStatisticImpl(
                new BoundedRangeStatisticImpl( 0, 0, 0, java.lang.Long.MAX_VALUE, 0,
                    stringCurrentNumberOfThreads, "count",
                    threadPool.getAttribute( stringCurrentNumberOfThreads ).
                    getAttributeInfo().getDescription(),
                    time, time ));

        averageWorkCompletionTime =
            new MutableBoundedRangeStatisticImpl(
                new BoundedRangeStatisticImpl( 0, 0, 0, java.lang.Long.MAX_VALUE, 0,
                    stringAverageWorkCompletionTime, "Milliseconds",
                    threadPool.getAttribute( stringAverageWorkCompletionTime ).
                    getAttributeInfo().getDescription(),
                    time, time ));

        MonitoredObject workQueue = threadPool.getChild(
            ORBConstants.WORKQUEUE_DEFAULT_NAME );

        totalWorkItemsAdded =
            new MutableCountStatisticImpl(
                new CountStatisticImpl( 0, stringTotalWorkItemsAdded, "count",
                    workQueue.getAttribute( stringTotalWorkItemsAdded ).
                    getAttributeInfo().getDescription(),
                    time, time ));

            numberOfWorkItemsInQueue =
            new MutableBoundedRangeStatisticImpl(
                new BoundedRangeStatisticImpl( 0, 0,0, java.lang.Long.MAX_VALUE, 0,
                    stringNumberOfWorkItemsInQueue, "count",
                    workQueue.getAttribute( stringNumberOfWorkItemsInQueue ).
                    getAttributeInfo( ).getDescription(),
                    time, time ));

        averageTimeInQueue =
            new MutableBoundedRangeStatisticImpl(
                new BoundedRangeStatisticImpl( 0, 0, 0, java.lang.Long.MAX_VALUE, 0,
                    stringAverageTimeInQueue, "Milliseconds",
                    workQueue.getAttribute( stringAverageTimeInQueue ).
                    getAttributeInfo( ).getDescription(),
                    time, time ));
View Full Code Here

                    sm.getString("jvmstats.jvm_heapsize"),
                    sm.getString("jvmstats.bytes"),
                    sm.getString("jvmstats.jvm_heapsize_desc"),
                    0, upper, 0);
       
        heapSize = new MutableBoundedRangeStatisticImpl(h);
    }
View Full Code Here

            "com.sun.enterprise.admin.monitor.stats.OrbConnectionManagerStats");

        final long time = System.currentTimeMillis();

        totalConnections =
            new MutableBoundedRangeStatisticImpl(
                new BoundedRangeStatisticImpl( 0, 0, 0,
                    java.lang.Long.MAX_VALUE, 0,
                    "TotalConnections", "count",
                    connection.getAttribute( stringTotalConnections ).
                    getAttributeInfo( ).getDescription(),
View Full Code Here

    protected void initialize() {

  long now = System.currentTimeMillis();

  synchronized (currentSizeLock) {
      currentSize = new MutableBoundedRangeStatisticImpl(
        new BoundedRangeStatisticImpl(0, 0, Long.MAX_VALUE,
      Long.MAX_VALUE, 0, "CurrentSize",
      "bytes", "Number of sessions in store", now, now)
      );
  }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.monitor.stats.MutableBoundedRangeStatisticImpl

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.