|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.util.ThreadStoreImpl
A straightford implementation of the threadstore interface.
Constructor Summary | |
ThreadStoreImpl()
Creates a new ThreadStore that is opened after creation. |
|
ThreadStoreImpl(boolean isOpened)
Constructor for ThreadStoreImpl. |
Method Summary | |
void |
close()
Closes the store. |
void |
enter()
Signals that a thread wants to enter the store. |
void |
exit()
Signals that a thread exited the store. |
void |
open()
Opens the store. |
int |
threadCount()
Returns how many threads are in the store. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreadStoreImpl()
public ThreadStoreImpl(boolean isOpened)
isOpened
- true is the store is opened after creationMethod Detail |
public int threadCount()
ThreadStore
threadCount
in interface ThreadStore
ThreadStore.threadCount()
public void enter()
ThreadStore
enter
in interface ThreadStore
ThreadStore.enter()
public void exit()
ThreadStore
exit
in interface ThreadStore
ThreadStore.exit()
public void close()
ThreadStore
close
in interface ThreadStore
ThreadStore.close()
public void open()
ThreadStore
open
in interface ThreadStore
ThreadStore.open()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |