org.infinispan.statetransfer
Class StateTransferInProgressException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.infinispan.CacheException
                  extended by org.infinispan.util.concurrent.TimeoutException
                      extended by org.infinispan.statetransfer.StateTransferInProgressException
All Implemented Interfaces:
Serializable

public class StateTransferInProgressException
extends TimeoutException

This exception is thrown when an operation cannot complete because a state transfer is in progress. Most of the time the operation will just wait for the rehash to complete and continue, but if the state transfer is taking too long this exception will be thrown.

Author:
Dan Berindei
See Also:
Serialized Form

Constructor Summary
StateTransferInProgressException(int newCacheViewId)
           
StateTransferInProgressException(int newCacheViewId, String msg)
           
StateTransferInProgressException(int newCacheViewId, String msg, Throwable cause)
           
StateTransferInProgressException(int newCacheViewId, Throwable cause)
           
 
Method Summary
 int getNewCacheViewId()
           
 
Methods inherited from class org.infinispan.util.concurrent.TimeoutException
toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateTransferInProgressException

public StateTransferInProgressException(int newCacheViewId)

StateTransferInProgressException

public StateTransferInProgressException(int newCacheViewId,
                                        Throwable cause)

StateTransferInProgressException

public StateTransferInProgressException(int newCacheViewId,
                                        String msg)

StateTransferInProgressException

public StateTransferInProgressException(int newCacheViewId,
                                        String msg,
                                        Throwable cause)
Method Detail

getNewCacheViewId

public int getNewCacheViewId()

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.