Changes the value of the requesting Accumulator and optionally, increments the counter value of the associated Event object.
void recordValue(long value, [optional] boolean includeEvent);
Listener listener = new Listener("sampleApp", "4.0");
Container store = listener.lookupContainer("storeName");
Event creations = store.lookupEvent(PCHeventClass.RPC, "document creations",
false );
Accumulator creationTime = creations.lookupAccumulator(Listener.DURATION);
...
numCreations.recordValue(1, true);
...