Package

com.metamx

rainer

Permalink

package rainer

Visibility
  1. Public
  2. All

Type Members

  1. class Commit[ValueType] extends Equals

    Permalink

    Represents a key/value commit.

    Represents a key/value commit. The value is stored as a byte array, although Commits always know how to deserialize them into a useful ValueType, using a KeyValueDeserialization.

    ValueType

    Underlying object type being committed. Should really be immutable and possess semantic equals and hashCode methods.

  2. trait CommitAutoPublisher extends Closable

    Permalink
  3. class CommitKeeper[ValueType] extends Logging

    Permalink

    ZooKeeper-based storage and notification for each key's most current commit.

    ZooKeeper-based storage and notification for each key's most current commit. This class does not implement CommitStorage because even though many method signatures are similar, it does not provide fully journaled storage. In particular, no history is kept, and commits with empty or unparseable values are not stored.

  4. case class CommitMetadata(key: Key, version: Int, author: Author, comment: Comment, mtime: org.scala_tools.time.Imports.DateTime, empty: Boolean) extends Product with Serializable

    Permalink

    Metadata for a key/value commit.

    Metadata for a key/value commit. Everything but the payload.

    key

    Key for this commit

    version

    Version of this commit (increases by 1 for each commit)

    author

    Author for this commit. Can be any string you like!

    comment

    Comment for this commit. Can also be any string you like!

    mtime

    Timestamp for this commit. Should ideally be the time the commit was generated.

    empty

    Whether or not this commit has a payload. Empty commits can be used as tombstones to represent deletions.

  5. class CommitOrderingException extends RuntimeException

    Permalink
  6. trait CommitStorage[ValueType] extends AnyRef

    Permalink

    Long-term storage for full commit history.

  7. class ConcurrentCommitException extends RuntimeException

    Permalink
  8. class DbCommitStorage[ValueType] extends CommitStorage[ValueType] with Logging

    Permalink

    CommitStorage implementation backed by an RDBMS.

  9. trait DbCommitStorageMixin extends AnyRef

    Permalink
  10. trait DbCommitStorageMySQLMixin extends DbCommitStorageMixin

    Permalink
  11. class HttpCommitStorage[ValueType] extends CommitStorage[ValueType]

    Permalink

    CommitStorage implementation backed by a remote rainer servlet.

  12. class InMemoryCommitStorage[ValueType] extends CommitStorage[ValueType]

    Permalink

    A commit storage implementation that stores everything in memory.

    A commit storage implementation that stores everything in memory. Nothing is persisted anywhere, and restarts destroy all data.

  13. trait KeyValueDeserialization[ValueType] extends AnyRef

    Permalink
  14. trait KeyValueSerialization[ValueType] extends AnyRef

    Permalink
  15. class Rainers[ValueType] extends AnyRef

    Permalink

Value Members

  1. object Commit

    Permalink
  2. object CommitMetadata extends Serializable

    Permalink
  3. object CommitStorage extends Logging

    Permalink
  4. object KeyValueDeserialization

    Permalink
  5. object KeyValueSerialization

    Permalink
  6. object Rainers

    Permalink
  7. package http

    Permalink

Ungrouped