类 AsyncOperation

  • 所有已实现的接口:
    com.hazelcast.nio.serialization.DataSerializable, com.hazelcast.nio.serialization.IdentifiedDataSerializable, com.hazelcast.spi.tenantcontrol.Tenantable
    直接已知子类:
    AbstractJobAsyncOperation

    public abstract class AsyncOperation
    extends com.hazelcast.spi.impl.operationservice.Operation
    implements com.hazelcast.nio.serialization.IdentifiedDataSerializable
    Base class for async operations. Handles registration/deregistration of operations from live registry, exception handling and peeling and logging of exceptions
    • 字段概要

      • 从类继承的字段 com.hazelcast.spi.impl.operationservice.Operation

        GENERIC_PARTITION_ID
    • 方法概要

      所有方法 实例方法 抽象方法 具体方法 
      修饰符和类型 方法 说明
      void beforeRun()  
      protected abstract org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<?> doRun()  
      int getFactoryId()  
      Object getResponse()  
      com.hazelcast.spi.impl.operationservice.ExceptionAction onInvocationException​(Throwable throwable)  
      boolean returnsResponse()  
      void run()  
      • 从类继承的方法 com.hazelcast.spi.impl.operationservice.Operation

        afterRun, afterRunFinal, call, clearThreadContext, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getClientCallId, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getServiceName, getTenantControl, getTenantControlOrNoop, getWaitTimeout, isTenantAvailable, isUrgent, logError, onExecutionFailure, onSetCallId, popThreadContext, pushThreadContext, readData, readInternal, requiresExplicitServiceName, requiresTenantContext, sendResponse, setCallerUuid, setClientCallId, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeData, writeInternal
      • 从接口继承的方法 com.hazelcast.nio.serialization.DataSerializable

        readData, writeData
      • 从接口继承的方法 com.hazelcast.nio.serialization.IdentifiedDataSerializable

        getClassId
    • 构造器详细资料

      • AsyncOperation

        public AsyncOperation()
    • 方法详细资料

      • beforeRun

        public void beforeRun()
        覆盖:
        beforeRun 在类中 com.hazelcast.spi.impl.operationservice.Operation
      • run

        public final void run()
        覆盖:
        run 在类中 com.hazelcast.spi.impl.operationservice.Operation
      • doRun

        protected abstract org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<?> doRun()
                                                                                               throws Exception
        抛出:
        Exception
      • returnsResponse

        public final boolean returnsResponse()
        覆盖:
        returnsResponse 在类中 com.hazelcast.spi.impl.operationservice.Operation
      • getResponse

        public final Object getResponse()
        覆盖:
        getResponse 在类中 com.hazelcast.spi.impl.operationservice.Operation
      • onInvocationException

        public com.hazelcast.spi.impl.operationservice.ExceptionAction onInvocationException​(Throwable throwable)
        覆盖:
        onInvocationException 在类中 com.hazelcast.spi.impl.operationservice.Operation
      • getFactoryId

        public final int getFactoryId()
        指定者:
        getFactoryId 在接口中 com.hazelcast.nio.serialization.IdentifiedDataSerializable