com.bigdata.resources
Class StaleLocatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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).
getName
public String getName()
getReason
public StaleLocatorReason getReason()
Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.