Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
V
W
A
addIfUnderCorePoolSize(Runnable)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Create and start a new thread running firstTask as its first task, only if fewer than corePoolSize threads are running.
addIfUnderMaximumPoolSize(Runnable)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Create and start a new thread only if fewer than maximumPoolSize threads are running.
addKey(String)
- Method in class net.sf.mybatchfwk.history.
KeysFileIndexer
Add a new key to the end of the file
addProperty(String, String)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Add the given property
afterExecute(ITask, Throwable)
- Method in class net.sf.mybatchfwk.
BatchService
Report an execution termination
afterExecute(Runnable, Throwable)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Method invoked upon completion of execution of the given Runnable.
assignProperties(Object)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Assign the configuration properties to an object using the annotations.
awaitServiceTermination(ExecutorService)
- Method in class net.sf.mybatchfwk.
BatchService
Wait for the termination of the service
awaitTermination(long, TimeUnit)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
B
BatchConfiguration
- Class in
net.sf.mybatchfwk
Configuration of the batch.
BatchConfiguration()
- Constructor for class net.sf.mybatchfwk.
BatchConfiguration
Default constructor: the default behavior is applicated.
BatchConfiguration(Properties)
- Constructor for class net.sf.mybatchfwk.
BatchConfiguration
Init the configuration from properties.
BatchException
- Exception in
net.sf.mybatchfwk
Exception used by the BatchService API.
BatchException()
- Constructor for exception net.sf.mybatchfwk.
BatchException
BatchException(String, Throwable)
- Constructor for exception net.sf.mybatchfwk.
BatchException
BatchException(String)
- Constructor for exception net.sf.mybatchfwk.
BatchException
BatchException(Throwable)
- Constructor for exception net.sf.mybatchfwk.
BatchException
BatchService
- Class in
net.sf.mybatchfwk
The class used to launch the batch.
BatchService()
- Constructor for class net.sf.mybatchfwk.
BatchService
batchService
- Variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
BatchService.STATE
- Enum in
net.sf.mybatchfwk
The state of the batch
beforeExecute(Thread, Runnable)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Method invoked prior to executing the given Runnable in the given thread.
beginDate
- Variable in class net.sf.mybatchfwk.
ExecutionReport
Begin date of the execution
buildIndex()
- Method in class net.sf.mybatchfwk.history.
KeysFileIndexer
Index the keys of the file
C
canBeExecuted(ITask)
- Method in class net.sf.mybatchfwk.
BatchService
Determine if a task can be executed or not
checkConsistency()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
Check the consistency of the configuration:
- the min size of the thread pool cannot be greater than the max size.
close()
- Method in class net.sf.mybatchfwk.history.
LineIterator
Close the bufferred reader
closeIndexer(KeysFileIndexer)
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
Close an indexer if it exists.
closeReader()
- Method in class net.sf.mybatchfwk.history.
KeysFileIndexer
Close the keys reader
closeStorage()
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
closeStorage()
- Method in interface net.sf.mybatchfwk.history.
IExecutionHistory
Close the storage system (called one time at the end of the batch)
closeStorage()
- Method in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
COMPLETED_TASKS_FILENAME
- Static variable in class net.sf.mybatchfwk.history.
FileExecutionHistory
completedTasksIdIterator()
- Method in class net.sf.mybatchfwk.
ExecutionReport
Return an iterator over the id of the completed tasks, provided by the execution history
completedTasksIdIterator()
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
completedTasksIdIterator()
- Method in interface net.sf.mybatchfwk.history.
IExecutionHistory
Return an iterator over the id of the completed tasks
completedTasksIdIterator()
- Method in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
completedTasksList
- Variable in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
CONFIGURATION_FILENAME
- Static variable in class net.sf.mybatchfwk.
BatchConfiguration
The name of the configuration file
containsKey(String)
- Method in class net.sf.mybatchfwk.history.
KeysFileIndexer
Returns
true
if this map contains a mapping for the specified key.
corePoolSize
- Variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Core pool size, updated only while holding mainLock, but volatile to allow concurrent readability even during updates.
D
DATE_FORMAT
- Static variable in class net.sf.mybatchfwk.
BatchConfiguration
The date format use to parse dates stored into the configuration file
E
end(ExecutionReport)
- Method in interface net.sf.mybatchfwk.
IBatch
Called at the end of the batch execution.
endDate
- Variable in class net.sf.mybatchfwk.
ExecutionReport
End date of the execution
endOfExecution(ITask, Throwable)
- Method in interface net.sf.mybatchfwk.
IBatch
Called after the end of the execution of a task.
execute(ITaskExecutor)
- Method in interface net.sf.mybatchfwk.
IBatch
Execution method of the batch.
execute(ITask)
- Method in interface net.sf.mybatchfwk.
ITaskExecutor
Execute the given task, waiting for free space in blocking queue if necessary
execute(Runnable)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Executes the given task sometime in the future.
execute(ITask)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
executeBatch()
- Method in class net.sf.mybatchfwk.
BatchService
Method in which the batch is executed
ExecutionReport
- Class in
net.sf.mybatchfwk
A basic execution report.
ExecutionReport()
- Constructor for class net.sf.mybatchfwk.
ExecutionReport
Default constructor
ExecutionReport(IExecutionHistory)
- Constructor for class net.sf.mybatchfwk.
ExecutionReport
F
FAILED_TASKS_FILENAME
- Static variable in class net.sf.mybatchfwk.history.
FileExecutionHistory
failedTasksIdIterator()
- Method in class net.sf.mybatchfwk.
ExecutionReport
Return an iterator over the id of the failed tasks, provided by the execution history
failedTasksIdIterator()
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
failedTasksIdIterator()
- Method in interface net.sf.mybatchfwk.history.
IExecutionHistory
Return an iterator over the id of the completed tasks
failedTasksIdIterator()
- Method in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
failedTasksList
- Variable in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
FileExecutionHistory
- Class in
net.sf.mybatchfwk.history
An history storage that store the id of the executed tasks into two files, one for the completed tasks, one another for the failed tasks.
FileExecutionHistory()
- Constructor for class net.sf.mybatchfwk.history.
FileExecutionHistory
finalize()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Invokes
shutdown
when this executor is no longer referenced.
G
getActiveCount()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the approximate number of threads that are actively executing tasks.
getBatchClassName()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getBeginDate()
- Method in class net.sf.mybatchfwk.
ExecutionReport
Return the begin date of the execution
getBeginDate()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
getBeginDate()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Return the begin date of the execution
getBlockingQueueCapacity()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getBooleanProperty(String)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Retrieve a boolean from a string property
getCompletedTaskCount()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the approximate total number of tasks that have completed execution.
getCorePoolSize()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the core number of threads.
getDateFormat()
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
getDateProperty(String)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Retrieve a date from a string property
getEndDate()
- Method in class net.sf.mybatchfwk.
ExecutionReport
Return the end date of the execution
getEndDate()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
getEndDate()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Return the end date of the execution
getExecutionHistoryClassName()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getExecutionReport()
- Method in class net.sf.mybatchfwk.
BatchService
getExecutionReportClassName()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getHistory()
- Method in class net.sf.mybatchfwk.
ExecutionReport
getId()
- Method in interface net.sf.mybatchfwk.
ITask
Return the id of the task.
getInstance()
- Static method in class net.sf.mybatchfwk.
BatchService
In standalone mode the instance is referenced as a static member
getIntegerProperty(String)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Retrieve an integer from a string property
getIOException()
- Method in exception net.sf.mybatchfwk.history.
LineIterator.IOEWrapper
getKeepAliveTime(TimeUnit)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the thread keep-alive time, which is the amount of time which threads in excess of the core pool size may remain idle before being terminated.
getLargestPoolSize()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the largest number of threads that have ever simultaneously been in the pool.
getLongProperty(String)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Retrieve a long from a string property
getMaximumPoolSize()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the maximum allowed number of threads.
getNumberOfCompletedTasks()
- Method in class net.sf.mybatchfwk.
ExecutionReport
getNumberOfCompletedTasks()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
getNumberOfCompletedTasks()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Return the number of completed tasks
getNumberOfFailedTasks()
- Method in class net.sf.mybatchfwk.
ExecutionReport
getNumberOfFailedTasks()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
getNumberOfFailedTasks()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Return the number of failed tasks
getPoolSize()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the current number of threads in the pool.
getProperties(String)
- Static method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Load properties stored into a properties configuration file
getProperties()
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
getPropertiesLoader()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getProperty(String)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Return the property designed by the given key
getPropertyFields(Class)
- Static method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Return the fields that owns an annotation of type Property
getQueue()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the task queue used by this executor.
getScheduleEndDate()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getScheduleNumberOfLoop()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getSchedulePeriodTime()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getScheduleStartDate()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getShortProperty(String)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
Retrieve a short from a string property
getState()
- Method in class net.sf.mybatchfwk.
BatchService
getState()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
getState()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Return the current batch state
getTaskCount()
- Method in interface net.sf.mybatchfwk.
ITaskExecutor
Returns the approximate total number of tasks that have been scheduled for execution.
getTaskCount()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the approximate total number of tasks that have been scheduled for execution.
getThreadFactory()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns the thread factory used to create new threads.
getThreadPoolExecutor()
- Method in class net.sf.mybatchfwk.
BatchService
getThreadPoolMaxSize()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
getThreadPoolMinSize()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
H
hasNext()
- Method in class net.sf.mybatchfwk.history.
LineIterator
history
- Variable in class net.sf.mybatchfwk.
ExecutionReport
The execution history
I
IBatch
- Interface in
net.sf.mybatchfwk
The batch class is the class in which tasks are created and provided to a service that executes them.
IExecutionHistory
- Interface in
net.sf.mybatchfwk.history
An ExecutionHistory is design to store the id of the completed and failed tasks.
init(BatchConfiguration)
- Method in class net.sf.mybatchfwk.
BatchService
Initialization method.
init(BatchConfiguration)
- Method in interface net.sf.mybatchfwk.
IBatch
Initialization method of the batch.
initStorage(BatchConfiguration)
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
initStorage(BatchConfiguration)
- Method in interface net.sf.mybatchfwk.history.
IExecutionHistory
Init the storage system (called one time at the beginning of the batch)
initStorage(BatchConfiguration)
- Method in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
isCompletedTask(String)
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
isCompletedTask(String)
- Method in interface net.sf.mybatchfwk.history.
IExecutionHistory
Return true is this task has already been executed and completed
isCompletedTask(String)
- Method in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
isDeferredStart()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
isEmpty()
- Method in class net.sf.mybatchfwk.history.
KeysFileIndexer
Returns
true
if this map contains no key-value mappings.
isExecuteCompletedTasks()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
isExecuteFailedTasks()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
isExecuteNewTasks()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
isFailedTask(String)
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
isFailedTask(String)
- Method in interface net.sf.mybatchfwk.history.
IExecutionHistory
Return true is this task has already been executed but failed
isFailedTask(String)
- Method in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
isJmxEnable()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
isJmxEnableNotifications()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
isRunning()
- Method in interface net.sf.mybatchfwk.
ITaskExecutor
Indicate the running state of the executor (the user can shutdown this service through JMX).
isRunning()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
isScheduleEnable()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
isShutdown()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
isStayAliveAfterShutdown()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
isTaskFilterEnable()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
Return true if the tasks mut be filtered before to be execute
isTerminated()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
isTerminating()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Returns true if this executor is in the process of terminating after
shutdown
or
shutdownNow
but has not completely terminated.
ITask
- Interface in
net.sf.mybatchfwk
Tasks given to the executor service must implements this interface
ITaskExecutor
- Interface in
net.sf.mybatchfwk
The task executor service interface
K
KeysFileIndexer
- Class in
net.sf.mybatchfwk.history
The KeysFileIndexer classe is used in order to index keys contained into a file (one line = one key).
KeysFileIndexer(File, String)
- Constructor for class net.sf.mybatchfwk.history.
KeysFileIndexer
Constructs an empty
KeysFileIndexer
with the default initial capacity (16) and the default load factor (0.75).
L
launch()
- Method in class net.sf.mybatchfwk.
BatchService
Launch the batch
LineIterator
- Class in
net.sf.mybatchfwk.history
An adapter that exposes a buffered reader as an iterator over the returned lines.
LineIterator(BufferedReader)
- Constructor for class net.sf.mybatchfwk.history.
LineIterator
LineIterator.IOEWrapper
- Exception in
net.sf.mybatchfwk.history
A wrapper of IOException
LineIterator.IOEWrapper(IOException)
- Constructor for exception net.sf.mybatchfwk.history.
LineIterator.IOEWrapper
M
main(String[])
- Static method in class net.sf.mybatchfwk.
BatchService
Main method to start the batch service in standalone mode.
ManagedBatchService
- Class in
net.sf.mybatchfwk.jmx
Default implementation of the MBean interface
ManagedBatchService(BatchService)
- Constructor for class net.sf.mybatchfwk.jmx.
ManagedBatchService
Register the batch service to the JMX MBean server
ManagedBatchServiceMBean
- Interface in
net.sf.mybatchfwk.jmx
The MBean interface of the batch service.
manageFatalError(Throwable)
- Method in class net.sf.mybatchfwk.
BatchService
Manage a fatal error during the batch execution that cause a crash
manageFatalError(ExecutionReport, Throwable)
- Method in interface net.sf.mybatchfwk.
IBatch
Called if a fatal error occurred.
MemoryExecutionHistory
- Class in
net.sf.mybatchfwk.history
This implementation store the ids into the memory.
MemoryExecutionHistory()
- Constructor for class net.sf.mybatchfwk.history.
MemoryExecutionHistory
N
net.sf.mybatchfwk
- package net.sf.mybatchfwk
net.sf.mybatchfwk.history
- package net.sf.mybatchfwk.history
net.sf.mybatchfwk.jmx
- package net.sf.mybatchfwk.jmx
net.sf.mybatchfwk.utils
- package net.sf.mybatchfwk.utils
next()
- Method in class net.sf.mybatchfwk.history.
LineIterator
notifyBatchState(BatchService.STATE)
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
Send a JMX notification that contains the new state of the batch
numberOfCompletedTasks
- Variable in class net.sf.mybatchfwk.
ExecutionReport
The number of completed tasks
numberOfFailedTasks
- Variable in class net.sf.mybatchfwk.
ExecutionReport
The number of failed tasks
P
PausableThreadPoolExecutor
- Class in
net.sf.mybatchfwk
The thread pool executor service that executes the tasks
PausableThreadPoolExecutor(BatchService, int, int, long, TimeUnit, BlockingQueue<Runnable>)
- Constructor for class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Creates a new
ThreadPoolExecutor
with the given initial parameters and default thread factory and handler.
pause()
- Method in class net.sf.mybatchfwk.
BatchService
Suspends the execution of the batch/executor/schedule services.
pause()
- Method in interface net.sf.mybatchfwk.
IBatch
Called then the batch execution has been put into waking through the call of the corresponding JMX operation.
pause()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
pause()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Pause operation.
pause()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Pause the execution of all tasks
poolSize
- Variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Current pool size, updated only while holding mainLock but volatile to allow concurrent readability even during updates.
prepareForLaunch()
- Method in class net.sf.mybatchfwk.
BatchService
Called just before the execution of the batch.
prestartAllCoreThreads()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Starts all core threads, causing them to idly wait for work.
prestartCoreThread()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Starts a core thread, causing it to idly wait for work.
PropertiesLoader
- Class in
net.sf.mybatchfwk.utils
The PropertiesLoader class is used to load a configuration from a file, and initialize all the fields of an object using the annotations.
PropertiesLoader(Properties)
- Constructor for class net.sf.mybatchfwk.utils.
PropertiesLoader
Property
- Annotation Type in
net.sf.mybatchfwk.utils
This annotation is used to assign a value to a property.
PROPERTY_STORAGE_FOLDER
- Static variable in class net.sf.mybatchfwk.history.
FileExecutionHistory
purge()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Tries to remove from the work queue all
Future
tasks that have been cancelled.
putKey(long, String)
- Method in class net.sf.mybatchfwk.history.
KeysFileIndexer
Add a new entry from the given key
R
remove()
- Method in class net.sf.mybatchfwk.history.
LineIterator
remove(Runnable)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Removes this task from the executor's internal queue if it is present, thus causing it not to be run if it has not already started.
reportCompletion(ITask)
- Method in class net.sf.mybatchfwk.
ExecutionReport
Store informations about a task completion.
reportFailure(ITask, Throwable)
- Method in class net.sf.mybatchfwk.
ExecutionReport
Store informations about a task failure.
restart()
- Method in class net.sf.mybatchfwk.
BatchService
Restart the execution of the batch.
restart()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
restart()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Restart operation.
resume()
- Method in class net.sf.mybatchfwk.
BatchService
Resume the execution of the batch/executor/schedule services.
resume()
- Method in interface net.sf.mybatchfwk.
IBatch
Called then the batch execution has been resumed through the call of the corresponding JMX operation.
resume()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
resume()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Resume operation.
resume()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Resume the execution of all tasks
rotateFile(File, File)
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
run()
- Method in interface net.sf.mybatchfwk.
ITask
The run method in which the task job must be defined.
RUNNING
- Static variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Normal, not-shutdown mode
runState
- Variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Lifecycle state
S
setBatch(IBatch)
- Method in class net.sf.mybatchfwk.
BatchService
setBatchClass(Class)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setBatchClassName(String)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setBeginDate(Date)
- Method in class net.sf.mybatchfwk.
ExecutionReport
Set the begin date of the execution
setBlockingQueueCapacity(int)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setCorePoolSize(int)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Sets the core number of threads.
setDateFormat(DateFormat)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
setDeferredStart(boolean)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setEndDate(Date)
- Method in class net.sf.mybatchfwk.
ExecutionReport
Set the end date of the execution
setExecuteCompletedTasks(boolean)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setExecuteFailedTasks(boolean)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setExecuteNewTasks(boolean)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setExecutionHistoryClass(Class)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setExecutionHistoryClassName(String)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setExecutionReportClass(Class)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setExecutionReportClassName(String)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setHistory(IExecutionHistory)
- Method in class net.sf.mybatchfwk.
ExecutionReport
setJmxEnable(boolean)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setJmxEnableNotifications(boolean)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setKeepAliveTime(long, TimeUnit)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Sets the time limit for which threads may remain idle before being terminated.
setMaximumPoolSize(int)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Sets the maximum allowed number of threads.
setProperties(Properties)
- Method in class net.sf.mybatchfwk.utils.
PropertiesLoader
setPropertiesLoader(PropertiesLoader)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setScheduleEnable(boolean)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setScheduleEndDate(Date)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setScheduleNumberOfLoop(long)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setSchedulePeriodTime(long)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setScheduleStartDate(Date)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setState(BatchService.STATE)
- Method in class net.sf.mybatchfwk.
BatchService
Set the new state of the batch and process to the notification of the new state if jmx is enable
setStayAliveAfterShutdown(boolean)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setThreadFactory(ThreadFactory)
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Sets the thread factory used to create new threads.
setThreadPoolMaxSize(int)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
setThreadPoolMinSize(int)
- Method in class net.sf.mybatchfwk.
BatchConfiguration
shutdown(boolean)
- Method in class net.sf.mybatchfwk.
BatchService
Stop the execution of the batch.
shutdown()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
shutdown()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Shutdown operation.
SHUTDOWN
- Static variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Controlled shutdown mode
shutdown()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
shutdownNow()
- Method in class net.sf.mybatchfwk.jmx.
ManagedBatchService
shutdownNow()
- Method in interface net.sf.mybatchfwk.jmx.
ManagedBatchServiceMBean
Shutdown now operation.
shutdownNow()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
shutdownScheduleService()
- Method in class net.sf.mybatchfwk.
BatchService
Shutdown the schedule service
size()
- Method in class net.sf.mybatchfwk.history.
KeysFileIndexer
Returns the number of key-value mappings in this map.
sleepBatchService()
- Method in class net.sf.mybatchfwk.
BatchService
Put the batch service on the sleep mode.
STATES_LABELS
- Static variable in class net.sf.mybatchfwk.jmx.
ManagedBatchService
STOP
- Static variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Immediate shutdown mode
storeCompletedTaskId(String)
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
storeCompletedTaskId(String)
- Method in interface net.sf.mybatchfwk.history.
IExecutionHistory
Store the id of the completed task
storeCompletedTaskId(String)
- Method in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
storeFailedTaskId(String)
- Method in class net.sf.mybatchfwk.history.
FileExecutionHistory
storeFailedTaskId(String)
- Method in interface net.sf.mybatchfwk.history.
IExecutionHistory
Store the id of the failed task
storeFailedTaskId(String)
- Method in class net.sf.mybatchfwk.history.
MemoryExecutionHistory
T
TaskExecutionException
- Exception in
net.sf.mybatchfwk
Exception that can be used to throw an error during a task execution
TaskExecutionException()
- Constructor for exception net.sf.mybatchfwk.
TaskExecutionException
TaskExecutionException(String, Throwable)
- Constructor for exception net.sf.mybatchfwk.
TaskExecutionException
TaskExecutionException(String)
- Constructor for exception net.sf.mybatchfwk.
TaskExecutionException
TaskExecutionException(Throwable)
- Constructor for exception net.sf.mybatchfwk.
TaskExecutionException
TERMINATED
- Static variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Final state
terminated()
- Method in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Method invoked when the Executor has terminated.
toString()
- Method in class net.sf.mybatchfwk.
BatchConfiguration
toString()
- Method in class net.sf.mybatchfwk.
ExecutionReport
V
valueOf(String)
- Static method in enum net.sf.mybatchfwk.
BatchService.STATE
Returns the enum constant of this type with the specified name.
values()
- Static method in enum net.sf.mybatchfwk.
BatchService.STATE
Returns an array containing the constants of this enum type, in the order they're declared.
W
workQueue
- Variable in class net.sf.mybatchfwk.
PausableThreadPoolExecutor
Queue used for holding tasks and handing off to worker threads.
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2006 null. All Rights Reserved.