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 --- .../amazon/carbonado/repo/logging/CommonsLog.html | 299 +++++++++++++ apidocs/com/amazon/carbonado/repo/logging/Log.html | 228 ++++++++++ .../repo/logging/LogAccessCapability.html | 216 +++++++++ .../repo/logging/LoggingRepositoryBuilder.html | 484 +++++++++++++++++++++ .../repo/logging/class-use/CommonsLog.html | 117 +++++ .../carbonado/repo/logging/class-use/Log.html | 195 +++++++++ .../logging/class-use/LogAccessCapability.html | 117 +++++ .../class-use/LoggingRepositoryBuilder.html | 117 +++++ .../carbonado/repo/logging/package-frame.html | 26 ++ .../carbonado/repo/logging/package-summary.html | 177 ++++++++ .../carbonado/repo/logging/package-tree.html | 144 ++++++ .../amazon/carbonado/repo/logging/package-use.html | 154 +++++++ 12 files changed, 2274 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/repo/logging/CommonsLog.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/Log.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/LogAccessCapability.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/LoggingRepositoryBuilder.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/class-use/CommonsLog.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/class-use/Log.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/class-use/LogAccessCapability.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/class-use/LoggingRepositoryBuilder.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/package-frame.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/package-summary.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/package-tree.html create mode 100644 apidocs/com/amazon/carbonado/repo/logging/package-use.html (limited to 'apidocs/com/amazon/carbonado/repo/logging') diff --git a/apidocs/com/amazon/carbonado/repo/logging/CommonsLog.html b/apidocs/com/amazon/carbonado/repo/logging/CommonsLog.html new file mode 100644 index 0000000..fc37f49 --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/CommonsLog.html @@ -0,0 +1,299 @@ + + + + + + +CommonsLog (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.repo.logging
+

Class CommonsLog

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Log
    +
    +
    +
    +
    public class CommonsLog
    +extends java.lang.Object
    +implements Log
    +
    Log implementation that uses Jakarta Commons Logging at debug level.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      CommonsLog(java.lang.Class clazz) 
      CommonsLog(org.apache.commons.logging.Log log) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanisEnabled() 
      voidwrite(java.lang.String message) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        CommonsLog

        +
        public CommonsLog(org.apache.commons.logging.Log log)
        +
      • +
      + + + +
        +
      • +

        CommonsLog

        +
        public CommonsLog(java.lang.Class clazz)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isEnabled

        +
        public boolean isEnabled()
        +
        +
        Specified by:
        +
        isEnabled in interface Log
        +
        +
      • +
      + + + +
        +
      • +

        write

        +
        public void write(java.lang.String message)
        +
        +
        Specified by:
        +
        write in interface Log
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/Log.html b/apidocs/com/amazon/carbonado/repo/logging/Log.html new file mode 100644 index 0000000..7fd808e --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/Log.html @@ -0,0 +1,228 @@ + + + + + + +Log (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.repo.logging
+

Interface Log

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    CommonsLog
    +
    +
    +
    +
    public interface Log
    +
    Very simple Log interface.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanisEnabled() 
      voidwrite(java.lang.String message) 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isEnabled

        +
        boolean isEnabled()
        +
      • +
      + + + +
        +
      • +

        write

        +
        void write(java.lang.String message)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/LogAccessCapability.html b/apidocs/com/amazon/carbonado/repo/logging/LogAccessCapability.html new file mode 100644 index 0000000..ce9c79c --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/LogAccessCapability.html @@ -0,0 +1,216 @@ + + + + + + +LogAccessCapability (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.repo.logging
+

Interface LogAccessCapability

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Capability
    +
    +
    +
    +
    public interface LogAccessCapability
    +extends Capability
    +
    Provides access to the Log.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      LoggetLog() 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getLog

        +
        Log getLog()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/LoggingRepositoryBuilder.html b/apidocs/com/amazon/carbonado/repo/logging/LoggingRepositoryBuilder.html new file mode 100644 index 0000000..5532586 --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/LoggingRepositoryBuilder.html @@ -0,0 +1,484 @@ + + + + + + +LoggingRepositoryBuilder (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.repo.logging
+

Class LoggingRepositoryBuilder

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    RepositoryBuilder
    +
    +
    +
    +
    public class LoggingRepositoryBuilder
    +extends AbstractRepositoryBuilder
    +
    Repository implementation which logs activity against it. By default, all + logged messages are at the debug level. + +

    + The following extra capabilities are supported: +

    + + Example: + +
    + LoggingRepositoryBuilder loggingBuilder = new LoggingRepositoryBuilder();
    + loggingBuilder.setActualRepositoryBuilder(...);
    + Repository repo = loggingBuilder.build();
    + 
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      Repositorybuild(java.util.concurrent.atomic.AtomicReference<Repository> rootRef) +
      Builds a repository instance.
      +
      voiderrorCheck(java.util.Collection<java.lang.String> messages) +
      This method is called by assertReady, and subclasses must override to + perform custom checks.
      +
      RepositoryBuildergetActualRepositoryBuilder() +
      Returns the Repository that all calls are wrapped to.
      +
      LoggetLog() +
      Return the Log to use.
      +
      java.lang.StringgetName() +
      Returns the name of the repository.
      +
      booleanisMaster() +
      Returns true if repository should assume the role of master, which is + true by default.
      +
      voidsetActualRepositoryBuilder(RepositoryBuilder builder) +
      Set the Repository to wrap all calls to.
      +
      voidsetLog(Log log) +
      Set the Log to use.
      +
      voidsetMaster(boolean master) +
      Set to false if repository should not assume the role of master.
      +
      voidsetName(java.lang.String name) +
      Set name for the repository, which is required.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        LoggingRepositoryBuilder

        +
        public LoggingRepositoryBuilder()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        build

        +
        public Repository build(java.util.concurrent.atomic.AtomicReference<Repository> rootRef)
        +                 throws RepositoryException
        +
        Description copied from interface: RepositoryBuilder
        +
        Builds a repository instance. + +

        If the repository is being wrapped by a parent repository, the child + repository will need to know this fact for some operations to work + correctly. Since the parent repository is not built yet, a reference is + used instead.

        +
        Parameters:
        rootRef - reference to root parent repository, to be set by + parent repository upon being built
        +
        Throws:
        +
        ConfigurationException - if there is a problem in the builder's configuration
        +
        RepositoryException - if there is a general problem opening the repository
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(java.lang.String name)
        +
        Description copied from interface: RepositoryBuilder
        +
        Set name for the repository, which is required.
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public java.lang.String getName()
        +
        Description copied from interface: RepositoryBuilder
        +
        Returns the name of the repository.
        +
      • +
      + + + +
        +
      • +

        setMaster

        +
        public void setMaster(boolean master)
        +
        Description copied from interface: RepositoryBuilder
        +
        Set to false if repository should not assume the role of master. By + default, this option is true. Repositories that link different + repositories together will designate only one as the master. + +

        A master repository is responsible for version and + sequence properties. For insert operations, a master + repository must set these properties if they are uninitialized. For + updates, the version property is checked to see if an OptimisticLockException should be thrown.

        +
        See Also:
        ReplicatedRepositoryBuilder
        +
      • +
      + + + +
        +
      • +

        isMaster

        +
        public boolean isMaster()
        +
        Description copied from interface: RepositoryBuilder
        +
        Returns true if repository should assume the role of master, which is + true by default. Repositories that link different repositories together + will designate only one as the master. + +

        A master repository is responsible for version and + sequence properties. For insert operations, a master + repository must set these properties if they are uninitialized. For + updates, the version property is checked to see if an OptimisticLockException should be thrown.

        +
        See Also:
        ReplicatedRepositoryBuilder
        +
      • +
      + + + +
        +
      • +

        setLog

        +
        public void setLog(Log log)
        +
        Set the Log to use. If null, use default. Log must be enabled when build + is called, or else no logging is ever performed.
        +
      • +
      + + + +
        +
      • +

        getLog

        +
        public Log getLog()
        +
        Return the Log to use. If null, use default.
        +
      • +
      + + + +
        +
      • +

        setActualRepositoryBuilder

        +
        public void setActualRepositoryBuilder(RepositoryBuilder builder)
        +
        Set the Repository to wrap all calls to.
        +
      • +
      + + + +
        +
      • +

        getActualRepositoryBuilder

        +
        public RepositoryBuilder getActualRepositoryBuilder()
        +
        Returns the Repository that all calls are wrapped to.
        +
      • +
      + + + +
        +
      • +

        errorCheck

        +
        public void errorCheck(java.util.Collection<java.lang.String> messages)
        +                throws ConfigurationException
        +
        Description copied from class: AbstractRepositoryBuilder
        +
        This method is called by assertReady, and subclasses must override to + perform custom checks. Be sure to call super.errorCheck as well.
        +
        +
        Overrides:
        +
        errorCheck in class AbstractRepositoryBuilder
        +
        Parameters:
        messages - add any error messages to this list
        +
        Throws:
        +
        ConfigurationException - if error checking indirectly caused + another exception
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/class-use/CommonsLog.html b/apidocs/com/amazon/carbonado/repo/logging/class-use/CommonsLog.html new file mode 100644 index 0000000..9b9bb3f --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/class-use/CommonsLog.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.repo.logging.CommonsLog (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.repo.logging.CommonsLog

+
+
No usage of com.amazon.carbonado.repo.logging.CommonsLog
+ +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/class-use/Log.html b/apidocs/com/amazon/carbonado/repo/logging/class-use/Log.html new file mode 100644 index 0000000..a895db1 --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/class-use/Log.html @@ -0,0 +1,195 @@ + + + + + + +Uses of Interface com.amazon.carbonado.repo.logging.Log (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.amazon.carbonado.repo.logging.Log

+
+
+ +
+ +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/class-use/LogAccessCapability.html b/apidocs/com/amazon/carbonado/repo/logging/class-use/LogAccessCapability.html new file mode 100644 index 0000000..febcf9a --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/class-use/LogAccessCapability.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Interface com.amazon.carbonado.repo.logging.LogAccessCapability (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.amazon.carbonado.repo.logging.LogAccessCapability

+
+
No usage of com.amazon.carbonado.repo.logging.LogAccessCapability
+ +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/class-use/LoggingRepositoryBuilder.html b/apidocs/com/amazon/carbonado/repo/logging/class-use/LoggingRepositoryBuilder.html new file mode 100644 index 0000000..818055b --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/class-use/LoggingRepositoryBuilder.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.repo.logging.LoggingRepositoryBuilder (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.repo.logging.LoggingRepositoryBuilder

+
+
No usage of com.amazon.carbonado.repo.logging.LoggingRepositoryBuilder
+ +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/package-frame.html b/apidocs/com/amazon/carbonado/repo/logging/package-frame.html new file mode 100644 index 0000000..732c5d9 --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +com.amazon.carbonado.repo.logging (Carbonado 1.2.3 API) + + + + +

com.amazon.carbonado.repo.logging

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/package-summary.html b/apidocs/com/amazon/carbonado/repo/logging/package-summary.html new file mode 100644 index 0000000..bbc8a11 --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/package-summary.html @@ -0,0 +1,177 @@ + + + + + + +com.amazon.carbonado.repo.logging (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Package com.amazon.carbonado.repo.logging

+
+
Repository implementation which logs activity against it.
+
+

See: Description

+
+
+ + + + +

Package com.amazon.carbonado.repo.logging Description

+
Repository implementation which logs activity against it. By default, all + logged messages are at the debug level.
+
See Also:
LoggingRepositoryBuilder
+
+ +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/package-tree.html b/apidocs/com/amazon/carbonado/repo/logging/package-tree.html new file mode 100644 index 0000000..dd712a0 --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/package-tree.html @@ -0,0 +1,144 @@ + + + + + + +com.amazon.carbonado.repo.logging Class Hierarchy (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.amazon.carbonado.repo.logging

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + +
+ + +

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

+ + diff --git a/apidocs/com/amazon/carbonado/repo/logging/package-use.html b/apidocs/com/amazon/carbonado/repo/logging/package-use.html new file mode 100644 index 0000000..570c33a --- /dev/null +++ b/apidocs/com/amazon/carbonado/repo/logging/package-use.html @@ -0,0 +1,154 @@ + + + + + + +Uses of Package com.amazon.carbonado.repo.logging (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.amazon.carbonado.repo.logging

+
+
+ +
+ +
+ + + + + +
+ + +

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

+ + -- cgit v1.2.3