Package org.infinispan.statetransfer

Examples of org.infinispan.statetransfer.StateTransferInProgressException


    * @return
    */
   private Object signalStateTransferInProgress(InvocationContext ctx) {
         int viewId = stateTransferLock.getBlockingCacheViewId();
      if (ctx.isOriginLocal()) {
         throw new StateTransferInProgressException(viewId, "Timed out waiting for the state transfer lock, state transfer in progress for view " + viewId);
      } else {
         throw new StateTransferInProgressException(viewId, "State transfer in progress on target node for view " + viewId
               + ", returning to the originator to allow state transfer to proceed.");
      }
   }
View Full Code Here


    * If this happens on a remote node however the originator will catch the exception and retry the command.
    * @return
    */
   private Object signalStateTransferInProgress() {
      int viewId = stateTransferLock.getBlockingCacheViewId();
      throw new StateTransferInProgressException(viewId, "Timed out waiting for the state transfer lock, state transfer in progress for view " + viewId);
   }
View Full Code Here

    * @return
    */
   private Object signalStateTransferInProgress(InvocationContext ctx) {
         int viewId = stateTransferLock.getBlockingCacheViewId();
      if (ctx.isOriginLocal()) {
         throw new StateTransferInProgressException(viewId, "Timed out waiting for the state transfer lock, state transfer in progress for view " + viewId);
      } else {
         throw new StateTransferInProgressException(viewId, "State transfer in progress on target node for view " + viewId
               + ", returning to the originator to allow state transfer to proceed.");
      }
   }
View Full Code Here

    * If this happens on a remote node however the originator will catch the exception and retry the command.
    * @return
    */
   private Object signalStateTransferInProgress() {
      int viewId = stateTransferLock.getBlockingCacheViewId();
      throw new StateTransferInProgressException(viewId, "Timed out waiting for the state transfer lock, state transfer in progress for view " + viewId);
   }
View Full Code Here

TOP

Related Classes of org.infinispan.statetransfer.StateTransferInProgressException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.