public class KeepAlive extends AbstractImplementation implements ExecutableIF
Modifier and Type | Class and Description |
---|---|
class |
KeepAlive.threadkeepAlive
Thread for the threadkeepAlive
The thread will get the name form the session every
time the time periods are reached.
|
Modifier and Type | Field and Description |
---|---|
protected static boolean |
alive |
protected boolean |
start |
protected int |
timeperiods |
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
KeepAlive()
Constructor of the ODS Cache
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
The execute, depending on the mode, start or stop the thread.
|
void |
init()
Initialize the Keep alive implementation
|
void |
terminate()
the terminate, nothing to do.
|
addAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
protected boolean start
protected int timeperiods
protected static boolean alive
public void execute() throws ExecutableException
execute
in interface ExecutableIF
ExecutableException
- if execution fails.ExecutableIF.execute()
public void terminate() throws TerminationException
terminate
in interface ExecutableIF
TerminationException
- if termination fails.ExecutableIF.terminate()
public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- -
When one of the required arguments not exist.