com.bigdata.resources
Class StaleLocatorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.bigdata.resources.StaleLocatorException
All Implemented Interfaces:
Serializable

public class StaleLocatorException
extends RuntimeException

An instance of this class is thrown when an index partition has been split, joined, or moved to indicate that the client has a stale PartitionLocator and should refresh the locator for the key range covered by the named index partition and retry their request on the appropriate DataService.

Version:
$Id: StaleLocatorException.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
StaleLocatorException(String name, StaleLocatorReason reason)
           
 
Method Summary
 String getName()
           
 StaleLocatorReason getReason()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaleLocatorException

public StaleLocatorException(String name,
                             StaleLocatorReason reason)
Parameters:
name - The name of the index partition.
reason - The reason why the locator is no longer valid (split, join or moved).
Method Detail

getName

public String getName()

getReason

public StaleLocatorReason getReason()


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.