From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../carbonado/spi/BelatedStorageCreator.html | 343 +++++++++++++++++++++ 1 file changed, 343 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/spi/BelatedStorageCreator.html (limited to 'apidocs/com/amazon/carbonado/spi/BelatedStorageCreator.html') diff --git a/apidocs/com/amazon/carbonado/spi/BelatedStorageCreator.html b/apidocs/com/amazon/carbonado/spi/BelatedStorageCreator.html new file mode 100644 index 0000000..8981984 --- /dev/null +++ b/apidocs/com/amazon/carbonado/spi/BelatedStorageCreator.html @@ -0,0 +1,343 @@ + + + + + + +BelatedStorageCreator (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.spi
+

Class BelatedStorageCreator<S extends Storable>

+
+
+ +
+
    +
  • +
    +
    +
    public class BelatedStorageCreator<S extends Storable>
    +extends BelatedCreator<Storage<S>,SupportException>
    +
    Generic one-shot Storage creator which supports late object creation. If + getting the Storage results in an exception or is taking too long, the + Storage produced instead is a bogus one. Many operations result in an + IllegalStateException. After retrying, if the real Storage is accessed, then + the bogus Storage turns into a wrapper to the real Storage.
    +
    Author:
    +
    Brian S O'Neill
    +
    See Also:
    BelatedRepositoryCreator
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      BelatedStorageCreator(org.apache.commons.logging.Log log, + Repository repo, + java.lang.Class<S> storableType, + int minRetryDelayMillis) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      protected Storage<S>createBogus() +
      Create instance of bogus object.
      +
      protected Storage<S>createReal() +
      Create instance of real object.
      +
      protected voidtimedOutNotification(long timedOutMillis) +
      Notification that createReal is taking too long.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BelatedStorageCreator

        +
        public BelatedStorageCreator(org.apache.commons.logging.Log log,
        +                     Repository repo,
        +                     java.lang.Class<S> storableType,
        +                     int minRetryDelayMillis)
        +
        Parameters:
        log - error reporting log
        repo - Repository to get Storage from
        storableType - type of Storable to get Storage for
        minRetryDelayMillis - minimum milliseconds to wait before retrying + to create object after failure; if negative, never retry
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3