public abstract class AbstractDistributeOnceElasticJobListener extends Object implements ElasticJobListener
LOWEST| Constructor and Description |
|---|
AbstractDistributeOnceElasticJobListener(long startedTimeoutMilliseconds,
long completedTimeoutMilliseconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterJobExecuted(ShardingContexts shardingContexts) |
void |
beforeJobExecuted(ShardingContexts shardingContexts) |
abstract void |
doAfterJobExecutedAtLastCompleted(ShardingContexts shardingContexts)
Do after job executed at last sharding job completed.
|
abstract void |
doBeforeJobExecutedAtLastStarted(ShardingContexts shardingContexts)
Do before job executed at last sharding job started.
|
void |
notifyWaitingTaskComplete()
Notify waiting task complete.
|
void |
notifyWaitingTaskStart()
Notify waiting task start.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic AbstractDistributeOnceElasticJobListener(long startedTimeoutMilliseconds,
long completedTimeoutMilliseconds)
public final void beforeJobExecuted(ShardingContexts shardingContexts)
beforeJobExecuted in interface ElasticJobListenerpublic final void afterJobExecuted(ShardingContexts shardingContexts)
afterJobExecuted in interface ElasticJobListenerpublic abstract void doBeforeJobExecutedAtLastStarted(ShardingContexts shardingContexts)
shardingContexts - sharding contextspublic abstract void doAfterJobExecutedAtLastCompleted(ShardingContexts shardingContexts)
shardingContexts - sharding contextspublic void notifyWaitingTaskStart()
public void notifyWaitingTaskComplete()
Copyright © 2021 The Apache Software Foundation. All rights reserved.