Class BaseNotification

java.lang.Object
java.util.EventObject
javax.management.Notification
org.apache.commons.modeler.BaseNotification
All Implemented Interfaces:
Serializable

public final class BaseNotification extends Notification
Base JMX Notification. Supports in int code and notes - for faster access and dispatching.
Author:
Costin Manolache
See Also:
  • Field Details

    • code

      private int code
    • type

      private String type
    • source

      private Object source
    • seq

      private long seq
    • tstamp

      private long tstamp
    • notes

      private Object[] notes
  • Constructor Details

    • BaseNotification

      private BaseNotification(String type, Object source, long seq, long tstamp, int code)
      Private constructor.
  • Method Details

    • recycle

      public void recycle()
    • init

      public void init(String type, Object source, long seq, long tstamp, int code)
    • getCode

      public int getCode()
      Action id, useable in switches and table indexes
    • getNote

      public final Object getNote(int i)
    • setNote

      public final void setNote(int i, Object o)