com.bigdata.resources
Class NoSuchStoreException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
NoSuchStoreException(String msg)
           
NoSuchStoreException(String msg, Throwable cause)
           
NoSuchStoreException(UUID uuid)
           
 
Method Summary
 
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

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.