|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfsam.guiclient.business.IdManager
public class IdManager
singleton to generates a unique id
Method Summary | |
---|---|
void |
cancelExecution(long id)
Threads with the given id wont generate thumbnails |
java.lang.Object |
clone()
|
static IdManager |
getInstance()
|
long |
getNewId()
|
boolean |
isCancelledExecution(long id)
|
void |
removeCancelledExecution(long id)
remove a cancelled execution id from the table |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IdManager getInstance()
public long getNewId()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void cancelExecution(long id)
id
- public boolean isCancelledExecution(long id)
id
-
public void removeCancelledExecution(long id)
id
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |