Class ObjectsReadStatsMessage

  • All Implemented Interfaces:
    java.io.Serializable

    public class ObjectsReadStatsMessage
    extends AbstractStatsMessage
    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
    • Field Summary

      • Fields inherited from class ome.util.messages.InternalMessage

        threadSafe
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectsReadStatsMessage​(java.lang.Object source, long objectsRead)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getObjectsRead()  
      • Methods inherited from class ome.util.messages.InternalMessage

        isThreadSafe
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ObjectsReadStatsMessage

        public ObjectsReadStatsMessage​(java.lang.Object source,
                                       long objectsRead)
    • Method Detail

      • getObjectsRead

        public long getObjectsRead()