The application can override the priority values for results that are enqueued by setting a function here.
Lesser values will result in a higher priority.
This option discards objects for which nobody listens before they are pushed to the buffer.
This might have the drawback that if an object in the buffer causes a new event listener to be registered, the new event listener will miss such objects. This might not be a problem at the moment, because such objects will already be on disk (That's why it is enabled by default).
If true, then I/O call statistics are recorded during handler execution.
Note that this might accumulate a lot of data and reduce performance.
If disabled no statistics except the global statistics are computed.
Global statistics ar the global event counters.
How many execution statistics per callback are stored.
-1 means unlimited, which will result in a serious memory leak.
Number of processed object information to retain.
-1 means unlimited, which will result in a serious memory leak.
If true this will retain all handler that have been deregistered.
This is useful to keep track of temporary callbacks (like the ones used in react views)
Get the number of objects that wait to be processed.
Get the number of objects that were processed by the buffer.
Get handler that are registered for this result.
Note: Somehow the as casts are needed, because typescript does not recognize, that a
VersionedObjectResult always leads to an Array of HandlerInfo
This is public by intention. The ui needs it to visualize handlers for pending objects.
Get a list of all registered handlers and if 'retainDeregisteredCallbacks' is enabled also deregistered ones.
Get a list of pending objects (result type of objects, that includes hashes etc)
Objects are deep frozen, the array is a copy.
Get a list of objects that have recently been processed plus statistics data for them.
Static
determine
The object event dispatcher collects all object events from one.core and reemits them in a controlled fashion.