Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
T0(String base_dir,
BlockingArray<Server> resReady,
Config config) |
| Modifier and Type | Method and Description |
|---|---|
double |
getLinkPushToServerQueueTime() |
int |
getServersLoaded() |
long |
getSize() |
boolean |
isBroken() |
long |
push(URI uri)
Pushes unnormalised URI into Robot's queues or Robot's cache with new
links.
|
void |
run() |
void |
setAddMoreURIs(boolean state) |
void |
shutdown() |
void |
switchOff()
This module will stop loading more Server-s into memory.
|
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, yieldpublic T0(String base_dir, BlockingArray<Server> resReady, Config config) throws IOException, NoSuchAlgorithmException
base_dir - resReady - config - IOExceptionNoSuchAlgorithmExceptionpublic void switchOff()
public int getServersLoaded()
getServersLoaded in interface T0MBeanpublic void shutdown()
public long push(URI uri)
public void setAddMoreURIs(boolean state)
setAddMoreURIs in interface T0MBeanpublic double getLinkPushToServerQueueTime()
getLinkPushToServerQueueTime in interface T0MBeanpublic boolean isBroken()
Copyright © 2016 Egothor. All Rights Reserved.