Enables the application to increase the counter value for an Event object. The getCount method may be called to obtain the current value of the Event object counter.
void recordEvent(int value);
Listener listener = new Listener("sampleApp", "4.0");
Container store = listener.lookupContainer("storeName");
Event creations = store.lookupEvent(PCHeventClass.RPC, "document creations",
false);
creations.recordEvent(10);
...