You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/07/21 09:06:10 UTC

[GitHub] [shardingsphere-elasticjob] CherishCai opened a new issue #1937: Question: Can ElasticJobListener has order?

CherishCai opened a new issue #1937:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1937


   ## Question
   
   **For English only**, other languages will not accept.
   
   can ElasticJobListener has an order? or afterJobExecuted reverse order call ElasticJobListener under code.
   
   org.apache.shardingsphere.elasticjob.lite.internal.schedule.LiteJobFacade
   ```java
     @Override
       public void beforeJobExecuted(final ShardingContexts shardingContexts) {
           for (ElasticJobListener each : elasticJobListeners) {
               each.beforeJobExecuted(shardingContexts);
           }
       }
       
       @Override
       public void afterJobExecuted(final ShardingContexts shardingContexts) {
           for (ElasticJobListener each : elasticJobListeners) {
               each.afterJobExecuted(shardingContexts);
           }
       }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN closed issue #1937: Question: Can ElasticJobListener has order?

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #1937:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1937


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1937: Question: Can ElasticJobListener has order?

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1937:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1937#issuecomment-884991687


   Try adding the listener orderly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org