public abstract class AbstractNotificationListener extends java.lang.Object implements NotificationListener
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.util.Map<Address,java.lang.Long>> |
longRunning
Long running
|
protected java.util.Map<java.lang.String,java.util.Map<Address,java.lang.Long>> |
shortRunning
Short running
|
| Constructor and Description |
|---|
AbstractNotificationListener()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
deltaDoWorkAccepted()
Delta doWork accepted
|
void |
deltaDoWorkRejected()
Delta doWork rejected
|
void |
deltaScheduleWorkAccepted()
Delta scheduleWork accepted
|
void |
deltaScheduleWorkRejected()
Delta scheduleWork rejected
|
void |
deltaStartWorkAccepted()
Delta startWork accepted
|
void |
deltaStartWorkRejected()
Delta startWork rejected
|
void |
deltaWorkFailed()
Delta work failed
|
void |
deltaWorkSuccessful()
Delta work successful
|
void |
join(Address address)
A distributed work manager joined
|
void |
leave(Address address)
A distributed work manager left
|
void |
updateLongRunningFree(Address address,
long free)
Update the long thread pool information for a distributed work manager
|
void |
updateShortRunningFree(Address address,
long free)
Update the short thread pool information for a distributed work manager
|
protected java.util.Map<java.lang.String,java.util.Map<Address,java.lang.Long>> shortRunning
protected java.util.Map<java.lang.String,java.util.Map<Address,java.lang.Long>> longRunning
public void join(Address address)
join in interface NotificationListeneraddress - The addresspublic void leave(Address address)
leave in interface NotificationListeneraddress - The addresspublic void updateShortRunningFree(Address address, long free)
updateShortRunningFree in interface NotificationListeneraddress - The addressfree - The number of free threadspublic void updateLongRunningFree(Address address, long free)
updateLongRunningFree in interface NotificationListeneraddress - The addressfree - The number of free threadspublic void deltaDoWorkAccepted()
deltaDoWorkAccepted in interface NotificationListenerpublic void deltaDoWorkRejected()
deltaDoWorkRejected in interface NotificationListenerpublic void deltaStartWorkAccepted()
deltaStartWorkAccepted in interface NotificationListenerpublic void deltaStartWorkRejected()
deltaStartWorkRejected in interface NotificationListenerpublic void deltaScheduleWorkAccepted()
deltaScheduleWorkAccepted in interface NotificationListenerpublic void deltaScheduleWorkRejected()
deltaScheduleWorkRejected in interface NotificationListenerpublic void deltaWorkSuccessful()
deltaWorkSuccessful in interface NotificationListenerpublic void deltaWorkFailed()
deltaWorkFailed in interface NotificationListenerCopyright © 2013 IronJacamar (http://www.ironjacamar.org)