Class AbstractClientCallbackHandler
java.lang.Object
com.aizuda.snailjob.server.job.task.support.callback.AbstractClientCallbackHandler
- All Implemented Interfaces:
ClientCallbackHandler,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
BroadcastClientCallbackHandler,ClusterClientCallbackHandler,MapReduceClientCallbackHandler,ShardingClientCallbackHandler
public abstract class AbstractClientCallbackHandler
extends Object
implements ClientCallbackHandler, org.springframework.beans.factory.InitializingBean
- Since:
- 2.4.0
- Author:
- opensnail
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcallback(ClientCallbackContext context) protected abstract StringchooseNewClient(ClientCallbackContext context) protected abstract voiddoCallback(ClientCallbackContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aizuda.snailjob.server.job.task.support.ClientCallbackHandler
getTaskInstanceType
-
Field Details
-
jobTaskMapper
-
-
Constructor Details
-
AbstractClientCallbackHandler
public AbstractClientCallbackHandler()
-
-
Method Details
-
callback
- Specified by:
callbackin interfaceClientCallbackHandler
-
chooseNewClient
-
doCallback
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-