org.apache.commons.modeler
Class BaseNotification
Notification
org.apache.commons.modeler.BaseNotification
public final class BaseNotification
extends Notification
Base JMX Notification. Supports in int code and notes - for faster
access and dispatching.
BaseNotification(String type, Object source, long seq, long tstamp, int code) - Private constructor.
|
int | getCode() - Action id, useable in switches and table indexes
|
Object | getNote(int i)
|
void | init(String type, Object source, long seq, long tstamp, int code)
|
void | recycle()
|
void | setNote(int i, Object o)
|
notes
private Object[] notes
source
private Object source
tstamp
private long tstamp
BaseNotification
private BaseNotification(String type,
Object source,
long seq,
long tstamp,
int code)
Private constructor.
getCode
public int getCode()
Action id, useable in switches and table indexes
getNote
public final Object getNote(int i)
init
public void init(String type,
Object source,
long seq,
long tstamp,
int code)
recycle
public void recycle()
setNote
public final void setNote(int i,
Object o)
Copyright (c) 2001-2003 - Apache Software Foundation