| java.lang.Object org.continuent.sequoia.controller.virtualdatabase.protocol.DistributedVirtualDatabaseMessage org.continuent.sequoia.controller.virtualdatabase.protocol.DistributedRequest org.continuent.sequoia.controller.virtualdatabase.protocol.NotifyCompletion
NotifyCompletion | public class NotifyCompletion extends DistributedRequest (Code) | | This class defines a NotifyCompletion command that is sent to controllers
that have either failed (AllBackendsFailedException) or did not execute the
query (NoMoreBackendException) to notify of the success or failure of the
request execution.
author: Emmanuel Cecchet version: 1.0 |
Constructor Summary | |
public | NotifyCompletion(AbstractRequest request, boolean success, boolean disableBackendOnSuccess) Creates a new NotifyCompletion object without update count
information
Parameters: request - the request that completed Parameters: success - true if completion is successful, false if it is a failure Parameters: disableBackendOnSuccess - disable all local backends if query wassuccessful (but failed locally). | public | NotifyCompletion(AbstractRequest request, boolean success, boolean disableBackendOnSuccess, int requestUpdateCount) Creates a new NotifyCompletion object with update count
information
Parameters: request - the request that completed Parameters: success - true if completion is successful, false if it is a failure Parameters: disableBackendOnSuccess - disable all local backends if query wassuccessful (but failed locally). |
NotifyCompletion | public NotifyCompletion(AbstractRequest request, boolean success, boolean disableBackendOnSuccess)(Code) | | Creates a new NotifyCompletion object without update count
information
Parameters: request - the request that completed Parameters: success - true if completion is successful, false if it is a failure Parameters: disableBackendOnSuccess - disable all local backends if query wassuccessful (but failed locally). Usually set to true in case ofAllBackendsFailedException and false for NoMoreBackendException. |
NotifyCompletion | public NotifyCompletion(AbstractRequest request, boolean success, boolean disableBackendOnSuccess, int requestUpdateCount)(Code) | | Creates a new NotifyCompletion object with update count
information
Parameters: request - the request that completed Parameters: success - true if completion is successful, false if it is a failure Parameters: disableBackendOnSuccess - disable all local backends if query wassuccessful (but failed locally). Usually set to true in case ofAllBackendsFailedException and false for NoMoreBackendException. Parameters: requestUpdateCount - update count if the query was executed usingStatement.executeUpdate() |
|
|