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 NotificationListener
address
- The addresspublic void leave(Address address)
leave
in interface NotificationListener
address
- The addresspublic void updateShortRunningFree(Address address, long free)
updateShortRunningFree
in interface NotificationListener
address
- The addressfree
- The number of free threadspublic void updateLongRunningFree(Address address, long free)
updateLongRunningFree
in interface NotificationListener
address
- The addressfree
- The number of free threadspublic void deltaDoWorkAccepted()
deltaDoWorkAccepted
in interface NotificationListener
public void deltaDoWorkRejected()
deltaDoWorkRejected
in interface NotificationListener
public void deltaStartWorkAccepted()
deltaStartWorkAccepted
in interface NotificationListener
public void deltaStartWorkRejected()
deltaStartWorkRejected
in interface NotificationListener
public void deltaScheduleWorkAccepted()
deltaScheduleWorkAccepted
in interface NotificationListener
public void deltaScheduleWorkRejected()
deltaScheduleWorkRejected
in interface NotificationListener
public void deltaWorkSuccessful()
deltaWorkSuccessful
in interface NotificationListener
public void deltaWorkFailed()
deltaWorkFailed
in interface NotificationListener
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)