
public class WorkManagerEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_JOIN
JOIN
|
static int |
TYPE_LEAVE
LEAVE
|
static int |
TYPE_UPDATE_LONG_RUNNING
UPDATE_LONG_RUNNING
|
static int |
TYPE_UPDATE_SHORT_RUNNING
UPDATE_SHORT_RUNNING
|
| Constructor and Description |
|---|
WorkManagerEvent(int type,
org.jboss.jca.core.spi.workmanager.Address address)
Constructor
|
WorkManagerEvent(int type,
org.jboss.jca.core.spi.workmanager.Address address,
long value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
org.jboss.jca.core.spi.workmanager.Address |
getAddress()
Get the address
|
int |
getType()
Get the type
|
long |
getValue()
Get the value
|
int |
hashCode() |
java.lang.String |
toString() |
public static final int TYPE_JOIN
public static final int TYPE_LEAVE
public static final int TYPE_UPDATE_SHORT_RUNNING
public static final int TYPE_UPDATE_LONG_RUNNING
public WorkManagerEvent(int type,
org.jboss.jca.core.spi.workmanager.Address address)
type - The typeaddress - The addresspublic WorkManagerEvent(int type,
org.jboss.jca.core.spi.workmanager.Address address,
long value)
type - The typeaddress - The addressvalue - The value for the typepublic int getType()
public org.jboss.jca.core.spi.workmanager.Address getAddress()
public long getValue()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 IronJacamar (http://www.ironjacamar.org)