recordEvent Method

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.

Syntax
void recordEvent(int value);
Parameters
value - [in] Required positive int value, that specifies the amount by which to increase the value of the Event object counter. When no value is specified, the counter is automatically incremented by one.
Example
Listener listener = new Listener("sampleApp", "4.0");
Container store = listener.lookupContainer("storeName");
Event creations = store.lookupEvent(PCHeventClass.RPC, "document creations", false);
creations.recordEvent(10);

...
See Also
Container Class
Event Class
Listener Class
getCount Method