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/BelatedRepositoryCreator.html | 361 +++++++++++++++++++++ 1 file changed, 361 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/spi/BelatedRepositoryCreator.html (limited to 'apidocs/com/amazon/carbonado/spi/BelatedRepositoryCreator.html') diff --git a/apidocs/com/amazon/carbonado/spi/BelatedRepositoryCreator.html b/apidocs/com/amazon/carbonado/spi/BelatedRepositoryCreator.html new file mode 100644 index 0000000..4849f11 --- /dev/null +++ b/apidocs/com/amazon/carbonado/spi/BelatedRepositoryCreator.html @@ -0,0 +1,361 @@ + + + + + + +BelatedRepositoryCreator (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.spi
+

Class BelatedRepositoryCreator

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

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      protected RepositorycreateBogus() +
      Create instance of bogus object.
      +
      protected RepositorycreateReal() +
      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

      + + + +
        +
      • +

        BelatedRepositoryCreator

        +
        public BelatedRepositoryCreator(org.apache.commons.logging.Log log,
        +                        RepositoryBuilder builder,
        +                        int minRetryDelayMillis)
        +
        Parameters:
        log - error reporting log
        builder - builds real Repository
        minRetryDelayMillis - minimum milliseconds to wait before retrying + to create object after failure; if negative, never retry
        +
      • +
      + + + +
        +
      • +

        BelatedRepositoryCreator

        +
        public BelatedRepositoryCreator(org.apache.commons.logging.Log log,
        +                        RepositoryBuilder builder,
        +                        java.util.concurrent.atomic.AtomicReference<Repository> rootRef,
        +                        int minRetryDelayMillis)
        +
        Parameters:
        log - error reporting log
        builder - builds real Repository
        rootRef - reference to root repository
        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