public abstract class IPCBean extends Object implements Runnable, IPCEventListener
Created by Jeff Gaynor
on 8/18/11 at 6:47 PM
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_DONE |
static int |
STATUS_EXCEPTION |
static int |
STATUS_NOT_COMPLETED |
static int |
STATUS_NOT_STARTED |
static long |
THREAD_SLEEP_INTERVAL |
Constructor and Description |
---|
IPCBean() |
Modifier and Type | Method and Description |
---|---|
Identifiable |
clone()
This should never be cloned in practice.
|
void |
fireEventHappened(IPCEvent ipcEvent) |
long |
getSleepInterval() |
int |
getStatus() |
Throwable |
getThrowable() |
boolean |
isStopThread() |
void |
run()
Runs this thread.
|
void |
setSleepInterval(long sleepInterval) |
void |
setStatus(int status) |
void |
setStopThread(boolean stopThread)
Sets this thread to stop the next time it wakes up.
|
void |
setThrowable(Throwable throwable) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIdentifier, getIdentifierString, setIdentifier
public static final int STATUS_NOT_STARTED
public static final int STATUS_DONE
public static final int STATUS_EXCEPTION
public static final int STATUS_NOT_COMPLETED
public static final long THREAD_SLEEP_INTERVAL
public boolean isStopThread()
public void setStopThread(boolean stopThread)
stopThread
- public long getSleepInterval()
public void setSleepInterval(long sleepInterval)
public void run()
public Throwable getThrowable()
public void setThrowable(Throwable throwable)
public void fireEventHappened(IPCEvent ipcEvent)
fireEventHappened
in interface IPCEventListener
public void setStatus(int status)
public int getStatus()
public Identifiable clone()
clone
in interface Identifiable
clone
in class Object
Copyright © 2019. All Rights Reserved.