Package com.cetsoft.caudit.quantity

Examples of com.cetsoft.caudit.quantity.DoubleQuantity


      case COUNTING_STOPWATCH:
        return new CountingStopwatch(auditId, auditName);
      case LONG_QUANTITY:
        return new LongQuantity(auditId, auditName);
      case DOUBLE_QUANTITY:
        return new DoubleQuantity(auditId, auditName);
      case COMPLEX_QUANTITY:
        return new DoubleQuantity(auditId, auditName);
      }
      return null;
    }
View Full Code Here


          LongQuantity quantity = Audits.getLongQuantity(LONG_QUANTITY_ID);
          quantity.increment();
        }
      }
    }).start();
    final DoubleQuantity doubleQuantity = Audits.getDoubleQuantity(PROVIDED_QUANTITY_ID);
    doubleQuantity.setProvider(new AuditProvider() {
      public void updateAudit() {
        doubleQuantity.set(Math.random());
      }
    });
    Audits.monitorUsedMemoryInMB();
    Audits.monitorUsedMemoryInKB();
    Audits.monitorNumberOfThreads();
View Full Code Here

TOP

Related Classes of com.cetsoft.caudit.quantity.DoubleQuantity

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.