Package ome.services.messages.stats
Class AbstractStatsMessage
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- ome.util.messages.InternalMessage
-
- ome.services.messages.stats.AbstractStatsMessage
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MethodStatsMessage
,ObjectsReadStatsMessage
,ObjectsWrittenStatsMessage
,SessionsCreatedStatsMessage
public abstract class AbstractStatsMessage extends ome.util.messages.InternalMessage
Published when some limit in user/group/session activity has been reached. For example, when a single thread has attempted to load a pre-defined number of objects (10,000; 100,000) a message can be raised which can then be used by other subsystems to slow down, or "throttle", execution.- See Also:
- OMERO Throttling, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractStatsMessage(java.lang.Object source)
AbstractStatsMessage(java.lang.Object source, boolean hard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHard()
-