com.bigdata.resources
Class NoSuchStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bigdata.resources.NoSuchStoreException
- All Implemented Interfaces:
- Serializable
public class NoSuchStoreException
- extends RuntimeException
An instance of this class is thrown when a UUID does not identify any
store known to the StoreManager. This can arise if the store file is
deleted by an operator, but the most common explanation is that resource was
considered "release free" and was deleted by the StoreManager.
Full transactions both hold read locks which prevent a store from being
released while the transaction is active. Those read locks are managed by the
transaction manager, which advances the release time based on the earliest
required by any active transaction.
An ITx.UNISOLATED operation uses the live view of an index, and the
resources for the live view may not be released. Likewise, read-committed
operations update a local release time which provides a read-lock solely for
the duration of the read-committed operation.
Non-transactional read-historical operations DO NOT hold read locks and MAY
encounter this exception. You may simply retry the read with a more recent
timestamp. However, DO NOT attempt to manage the release time directly.
Instead, you may use a read-only transaction which will manage the read locks
automatically on your behalf.
- Version:
- $Id: NoSuchStoreException.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 |
NoSuchStoreException
public NoSuchStoreException(String msg,
Throwable cause)
NoSuchStoreException
public NoSuchStoreException(String msg)
NoSuchStoreException
public NoSuchStoreException(UUID uuid)
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.