Class SingletonExtractTransactionsExecutor
- java.lang.Object
-
- com.h2tcoin.takamakachain.mx.actions.commands.executors.SingletonExtractTransactionsExecutor
-
public class SingletonExtractTransactionsExecutor 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
getOutputLevel()
static ThreadPoolExecutor
getTps()
int
getUpToEpoch()
static SingletonExtractTransactionsExecutor
i()
void
initNotifier(AbstractGenericCommand agc)
boolean
isForcedTermination()
boolean
isLimitedDump()
boolean
isRunning()
void
setForcedTermination(boolean t)
void
setLimitedDump(boolean limitedDump)
void
setOutputLevel(int ol)
1000 verbose, 500 minimal, 100 silentstatic void
setTps(ThreadPoolExecutor tps)
void
setUpToEpoch(int upToEpoch)
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
-
isLimitedDump
public boolean isLimitedDump()
-
setLimitedDump
public void setLimitedDump(boolean limitedDump)
-
getUpToEpoch
public int getUpToEpoch()
-
setUpToEpoch
public void setUpToEpoch(int upToEpoch)
-
getTps
public static ThreadPoolExecutor getTps()
-
setTps
public static void setTps(ThreadPoolExecutor tps)
-
initNotifier
public void initNotifier(AbstractGenericCommand agc)
-
i
public static SingletonExtractTransactionsExecutor 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()
-
isRunning
public boolean isRunning()
-
isForcedTermination
public boolean isForcedTermination()
-
setForcedTermination
public void setForcedTermination(boolean t)
-
-