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

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


   
        cs = new CountStatisticImpl(0,
            "endPointsCreated", "",
        "The number of endpoints created using this endpoint factory"
            ,time, time);
        endPointsCreatedCount = new MutableCountStatisticImpl( cs );

        cs = new CountStatisticImpl(0, "messagesDelivered", "",
                    "The number of messages delivered to endpoints created using this " +
                    "endpoint factory",time, time);
        messagesDeliveredCount = new MutableCountStatisticImpl( cs );

        cs = new CountStatisticImpl(0, "runtimeExceptionCount", "",
                    "The number of runtime exceptions thown by endpoints created" +
                    "by this end point factory",time, time);
        runTimeExceptionsCount = new MutableCountStatisticImpl( cs );
    }
View Full Code Here


   
        cs = new CountStatisticImpl(0,
            "SubmittedWorkCount", "",
        "Number of work objects submitted by a connector module for  execution"
        + "WorkQueue before executing",time, time);
        submittedWorkCount = new MutableCountStatisticImpl( cs );

        cs = new CountStatisticImpl(0,
            "RejectedWorkCount", "",
        "Number of work objects rejected by the application server",time, time);
        rejectedWorkCount = new MutableCountStatisticImpl( cs );

        cs = new CountStatisticImpl(0,
            "CompletedWorkCount", "",
        "Number of work objects completed execution",time, time);
        completedWorkCount = new MutableCountStatisticImpl( cs );

        //the low water mark is set with a seed value of 1 to
        //ensure that the comparison with currentVal returns
        //the correct low water mark the first time around
        //the least number of connections that we can use is always 1
View Full Code Here

      "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

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

  synchronized (checkpointTimeLock) {
      checkpointTime = new MutableAverageRangeStatisticImpl(
View Full Code Here

    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

    }

    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

  initStats();
    }

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

    }

    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

  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

  initStats();
    }

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

TOP

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

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.