Examples of MutableCountStatisticImpl


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

    }

    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

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

  initStats();
    }

    private void initStats() {
  createdCountStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("NumTimersCreated"));
  removedCountStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("NumTimersRemoved"));
  deliveredCountStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("NumTimersDelivered"));
    }
View Full Code Here

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

  initStats();
    }

    private void initStats() {
  createStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("CreateCount"));
  removeStat = new MutableCountStatisticImpl(
      new CountStatisticImpl("RemoveCount"));
    }
View Full Code Here

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

  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(
    new CountStatisticImpl("NumPassivationErrors"));
  passivations = new MutableCountStatisticImpl(
    new CountStatisticImpl("NumPassivations"));
  passivationSuccess = new MutableCountStatisticImpl(
    new CountStatisticImpl("NumPassivationSuccess"));
    }
View Full Code Here

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

    }   


    private void initializeEEStatistics() {
       
        sessionSizeLow = new MutableCountStatisticImpl(
                        new CountStatisticImpl("SessionSizeLow"));
        sessionSizeHigh = new MutableCountStatisticImpl(
                        new CountStatisticImpl("SessionSizeHigh"));
        sessionSizeAvg = new MutableCountStatisticImpl(
                        new CountStatisticImpl("SessionSizeAvg"));
        containerLatencyLow = new MutableCountStatisticImpl(
                        new CountStatisticImpl("ContainerLatencyLow"));
        containerLatencyHigh = new MutableCountStatisticImpl(
                        new CountStatisticImpl("ContainerLatencyHigh"));
        containerLatencyAvg = new MutableCountStatisticImpl(
                        new CountStatisticImpl("ContainerLatencyAvg"));
        sessionPersistTimeLow = new MutableCountStatisticImpl(
                        new CountStatisticImpl("SessionPersistTimeLow"));
        sessionPersistTimeHigh = new MutableCountStatisticImpl(
                        new CountStatisticImpl("SessionPersistTimeHigh"));
        sessionPersistTimeAvg = new MutableCountStatisticImpl(
                        new CountStatisticImpl("SessionPersistTimeAvg"));
        cachedSessionsCurrent = new MutableCountStatisticImpl(
                        new CountStatisticImpl("CachedSessionsCurrent"));
        passivatedSessionsCurrent = new MutableCountStatisticImpl(
                        new CountStatisticImpl("PassivatedSessionsCurrent"));

    }
View Full Code Here

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

      "bytes", "Number of sessions in store", now, now)
      );
  }

  synchronized (activationCountLock) {
      activationCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("ActivationCount"));
      activationSuccessCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("ActivationSuccessCount"));
      activationErrorCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("ActivationErrorCount"));
  }

  synchronized (activationSizeLock) {
      activationSize = new MutableAverageRangeStatisticImpl(
        new BoundedRangeStatisticImpl(0, 0, Long.MAX_VALUE,
      Long.MAX_VALUE, 0, "ActivationSize",
      "bytes", "Number of bytes activated", now, now)
      );
  }

  synchronized (passivationSizeLock) {
      passivationSize = new MutableAverageRangeStatisticImpl(
        new BoundedRangeStatisticImpl(0, 0, Long.MAX_VALUE,
      Long.MAX_VALUE, 0, "PassivationSize",
      "bytes", "Number of bytes passivated", now, now)
      );
  }

  synchronized (passivationCountLock) {
      passivationCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("PassivationCount"));
      passivationSuccessCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("PassivationSuccessCount"));
      passivationErrorCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("PassivationErrorCount"));
  }

  synchronized (expiredSessionCountLock) {
      expiredSessionCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("ExpiredSessionCount"));
  }

  synchronized (activationTimeLock) {
      activationTime = new MutableAverageRangeStatisticImpl(
View Full Code Here

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

    protected void initialize() {
  super.initialize();

  synchronized (checkpointCountLock) {
      checkpointCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("CheckpointCount"));
      checkpointSuccessCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("CheckpointSuccessCount"));
      checkpointErrorCount = new MutableCountStatisticImpl(
    new CountStatisticImpl("CheckpointErrorCount"));
  }

  long now = System.currentTimeMillis();
  synchronized (checkpointTimeLock) {
View Full Code Here

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

    }

    private void initialize() {
  super.initialize("com.sun.enterprise.admin.monitor.stats.EJBMethodStats");

  executionStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("ExecutionTime", "Milliseconds" ));
  errorStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("TotalNumErrors"));

  long now = System.currentTimeMillis();
  methodStat = new MutableTimeStatisticImpl(
    new TimeStatisticImpl(0, 0, 0, 0,
        "MethodStatistic", "", "", now, now));
  successStat = new MutableCountStatisticImpl(
    new CountStatisticImpl("TotalNumSuccess"));

  delegate.setMutableTimeStatisticImpl(methodStat);
    }
View Full Code Here

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

  initStats();
    }

    private void initStats() {
  messageCountStat = new MutableCountStatisticImpl(
      new CountStatisticImpl("MessageCount"));
    }
View Full Code Here

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

      super.initialize("com.sun.enterprise.admin.monitor.stats.ThreadPoolStats");

        final long time = System.currentTimeMillis();

        numberOfBusyThreads =
            new MutableCountStatisticImpl(
                new CountStatisticImpl( 0, stringNumberOfBusyThreads, "COUNT",
                    threadPool.getAttribute( stringNumberOfBusyThreads ).
                    getAttributeInfo().getDescription(),
                    time, time ));

        numberOfAvailableThreads =
            new MutableCountStatisticImpl(
                new CountStatisticImpl( 0, stringNumberOfAvailableThreads, "count",
                    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 ));
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.