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