Class FastSyncExecutor
- java.lang.Object
-
- com.h2tcoin.takamakachain.mx.actions.commands.executors.FastSyncExecutor
-
public class FastSyncExecutor extends Object
Singleton Extract Transactions Executor SingletonExtractTransactionsExecutor- Author:
- giovanni.antino
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractGenericCommand
agc
static ConcurrentSkipListSet<Boolean>
isRunning
static int
outputLevel
static Object
SETE_LOCK
static ConcurrentSkipListSet<Boolean>
terminateExecution
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getCurrentNode()
int
getExecutionRequested()
void
getListNodes()
void
getOutputLevel()
ThreadPoolExecutor
getTps()
static FastSyncExecutor
i()
void
initNotifier(AbstractGenericCommand agc)
boolean
isForcedTermination()
boolean
isRunning()
void
sendMessage(String message)
void
setExecutionRequested(int executionRequested)
void
setForcedTermination(boolean t)
void
setNetworkPool(NetworkPool np)
void
setOutputLevel(int ol)
1000 verbose, 500 minimal, 100 silentvoid
setSelectedNode(int nNumber)
void
setTps(ThreadPoolExecutor tps)
void
start()
void
status()
void
stop()
-
-
-
Field Detail
-
terminateExecution
public static ConcurrentSkipListSet<Boolean> terminateExecution
-
isRunning
public static ConcurrentSkipListSet<Boolean> isRunning
-
agc
public static AbstractGenericCommand agc
-
outputLevel
public static int outputLevel
-
SETE_LOCK
public static final Object SETE_LOCK
-
-
Method Detail
-
getTps
public ThreadPoolExecutor getTps()
-
setTps
public void setTps(ThreadPoolExecutor tps)
-
initNotifier
public void initNotifier(AbstractGenericCommand agc)
-
setNetworkPool
public void setNetworkPool(NetworkPool np)
-
sendMessage
public void sendMessage(String message)
-
i
public static FastSyncExecutor i()
-
stop
public void stop()
-
start
public void start()
-
status
public void status()
-
setOutputLevel
public void setOutputLevel(int ol)
1000 verbose, 500 minimal, 100 silent- Parameters:
ol
-
-
getOutputLevel
public void getOutputLevel()
-
getListNodes
public void getListNodes()
-
getExecutionRequested
public int getExecutionRequested()
-
setExecutionRequested
public void setExecutionRequested(int executionRequested)
-
setSelectedNode
public void setSelectedNode(int nNumber)
-
getCurrentNode
public void getCurrentNode()
-
isRunning
public boolean isRunning()
-
isForcedTermination
public boolean isForcedTermination()
-
setForcedTermination
public void setForcedTermination(boolean t)
-
-