Package com.sun.sgs.profile

Examples of com.sun.sgs.profile.ProfileOperation


    }

    /** {@inheritDoc} */
    public byte[] getObject(Transaction txn, long oid, boolean forUpdate) {
  byte[] result = dataStore.getObject(txn, oid, forUpdate);
  ProfileOperation op =
                forUpdate ? stats.getObjectForUpdateOp : stats.getObjectOp;
  op.report();
  stats.readBytesCounter.incrementCount(result.length);
  stats.readObjectsCounter.incrementCount();
  stats.readBytesSample.addSample(result.length);
  return result;
    }
View Full Code Here

TOP

Related Classes of com.sun.sgs.profile.ProfileOperation

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.