|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
gov.bnl.star.offline.scheduler.util.ThreadSafeFilesystemToolkit
public class ThreadSafeFilesystemToolkit
The class is used to call function that many not retrun and hang SUMS
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
boolean |
done
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ThreadSafeFilesystemToolkit()
Creates a new instance of ThreadSafe |
|
| Method Summary | |
|---|---|
void |
checkIfDirExists(java.net.URL dir,
boolean hostAllowed)
This function should not be called it is used only used international by this class, and must be public. |
void |
checkIfFileExists(java.net.URL file,
boolean hostAllowed)
This function should not be called it is used only used international by this class, and must be public. |
boolean |
getOutput()
|
boolean |
isDone()
|
void |
run()
This function should not be called it is used only used international by this class, and must be public. |
boolean |
threadSafeCheckIfDirExists(java.net.URL dir,
boolean hostAllowed)
|
boolean |
threadSafeCheckIfFileExists(java.net.URL file,
boolean hostAllowed)
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean done
| Constructor Detail |
|---|
public ThreadSafeFilesystemToolkit()
| Method Detail |
|---|
public boolean isDone()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic boolean getOutput()
public void checkIfFileExists(java.net.URL file,
boolean hostAllowed)
public void checkIfDirExists(java.net.URL dir,
boolean hostAllowed)
public boolean threadSafeCheckIfFileExists(java.net.URL file,
boolean hostAllowed)
public boolean threadSafeCheckIfDirExists(java.net.URL dir,
boolean hostAllowed)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||