Object/Class

com.comcast.xfinity.sirius.api

SiriusConfiguration

Related Docs: class SiriusConfiguration | package api

Permalink

object SiriusConfiguration

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SiriusConfiguration
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val ACCEPTOR_CLEANUP_FREQ: String("sirius.paxos.acceptor.acceptor-cleanup-freq-secs")

    Permalink

    How often, in seconds, to clean up the Acceptor (int)

  5. final val ACCEPTOR_WINDOW: String("sirius.paxos.acceptor.acceptor-window-millis")

    Permalink

    Number of milliseconds for Acceptors to retain PValues.

    Number of milliseconds for Acceptors to retain PValues. When cleaning up in the Acceptors we remove PValues from the acceptor in slot number order until we encounter one which is within the retention window. At this point we stop cleaning up. Note that it is possible that PValues outside of the this window may be retained if there is a PValue with a timestamp that is within the window before it. (long)

    Similar to REPROPOSAL_WINDOW, precision is ACCEPTOR_CLEANUP_FREQ

  6. final val AKKA_EXTERNAL_ADDRESS_RESOLVER: String("sirius.akka.external-address-resolver")

    Permalink

    AkkaExternalAddressResolver

  7. final val AKKA_EXTERN_CONFIG: String("sirius.akka.system-config-overrides")

    Permalink

    External akka ActorSystem configuration.

    External akka ActorSystem configuration. It this location exists on the file system it is loaded, else it is loaded from the classpath. (string)

    See also

    http://doc.akka.io/docs/akka/2.0.2/general/configuration.html for more information

  8. final val AKKA_SYSTEM_NAME: String("sirius.akka.actor-system.name")

    Permalink

    The name of the ActorSystem.

    The name of the ActorSystem. Defaults to sirius-system. (string)

    End users will probably never override this, but it is convenient for when running multiple nodes on the same host sharing the same log, ie when testing :).

  9. final val ALLOWED_PING_FAILURES: String("sirius.membership.allowed-ping-failure")

    Permalink

    The allowed number of ping failures before a member of the cluster is considered dead.

    The allowed number of ping failures before a member of the cluster is considered dead. This is an estimate as opposed to a real number. The threshold for checking member health is actually based on time: threshold = allowedPingFailures * pingInterval + pingInterval / 2

  10. final val CATCHUP_DEFAULT_SSTHRESH: String("sirius.catchup.default-ssthresh")

    Permalink

    Starting ssthresh, which is the point where catchup transitions from Slow Start to Congestion Avoidance.

    Starting ssthresh, which is the point where catchup transitions from Slow Start to Congestion Avoidance. Default is 500.

  11. final val CATCHUP_MAX_WINDOW_SIZE: String("sirius.catchup.max-window-size")

    Permalink

    Maximum catchup window size, in number of events.

    Maximum catchup window size, in number of events. Default is 1000.

  12. final val CATCHUP_TIMEOUT_BASE: String("sirius.catchup.timeout-constant")

    Permalink

    Base value of catchup request timeout in seconds.

    Base value of catchup request timeout in seconds. Default is 1.0. Type is double.

    timeout = timeout_base + ( w * timeout_per_event )

  13. final val CATCHUP_TIMEOUT_INCREASE_PER_EVENT: String("sirius.catchup.timeout-coefficient")

    Permalink

    Amount to increase catchup request timeout per event in window size, in seconds.

    Amount to increase catchup request timeout per event in window size, in seconds. Default 0.01. Type is Double.

    timeout = timeout_base + ( w * timeout_per_event )

  14. final val CHECK_LEADER_STATE_FREQ_SECS: String("sirius.check-leader-state.freq-secs")

    Permalink

    How long (in seconds) to periodically check leader state

  15. final val CLIENT_TIMEOUT_MS: String("sirius.client.ask-timeout-ms")

    Permalink

    How long (in milliseconds) for requests in SiriusImpl to wait for a response from the underlying actor (int)

  16. final val CLUSTER_CONFIG: String("sirius.membership.config-path")

    Permalink

    Location of cluster membership configuration file (string)

  17. final val COMPACTION_MAX_DELETE_AGE_HOURS: String("sirius.log.compaction-max-delete-age-hours")

    Permalink

    The maximum age for a Delete in hours that remains after compaction.

    The maximum age for a Delete in hours that remains after compaction. Deletes that are older than this age will be purged during compaction. The default is that Deletes will not be purged during compaction.

  18. final val COMPACTION_SCHEDULE_MINS: String("sirius.log.compaction-schedule-mins")

    Permalink

    Minutes between triggering compaction.

    Minutes between triggering compaction. First trigger will happen this many minutes after boot. A value of 0 turns off compaction, and compaction is off by default.

  19. final val ENABLE_SSL: String("sirius.akka.ssl")

    Permalink

    Flag (boolean) to enable or disable SSL encryption support for akka If enabled all akka communications will be done over SSL providing the key store and trust store are configured correctly

  20. final val HOST: String("sirius.akka.host")

    Permalink

    Host to bind akka to (string)

    Host to bind akka to (string)

    Takes precedence over all other akka configuration for host

  21. final val KEY_PASSWORD: String("sirius.akka.ssl.key.password")

    Permalink

    Support for akka over SSL This is configurable Java key password used for decrypting the key

  22. final val KEY_STORE_LOCATION: String("sirius.akka.ssl.key-store.location")

    Permalink

    Support for akka over SSL This is the configurable Java key store location and is used by the server connection

  23. final val KEY_STORE_PASSWORD: String("sirius.akka.ssl.key-store.password")

    Permalink

    Support for akka over SSL This is the configurable Java key store password used for decrypting the key store

  24. final val LOG_EVENTS_PER_SEGMENT: String("sirius.uberstore.max-events-per-segment")

    Permalink

    Maximum events per Segment in a SegmentedUberStore.

    Maximum events per Segment in a SegmentedUberStore. Determines how many events will be written before splitting off a new Segment on disk.

  25. final val LOG_LOCATION: String("sirius.uberstore.dir")

    Permalink

    Directory to put UberStore in (string)

  26. final val LOG_READ_BUFFER_SIZE_BYTES: String("sirius.log.read-buffer-size-bytes")

    Permalink

    Indicates the size of the buffer in bytes when reading events from the log.

    Indicates the size of the buffer in bytes when reading events from the log. The default buffer size is 8192 bytes. (int)

  27. final val LOG_REQUEST_CHUNK_SIZE: String("sirius.log-request.chunk-size")

    Permalink

    Number of events to request from a remote node in a single chunk

  28. final val LOG_REQUEST_FREQ_SECS: String("sirius.log-request.freq-secs")

    Permalink

    How long (in seconds) to wait between checking for gaps

  29. final val LOG_REQUEST_RECEIVE_TIMEOUT_SECS: String("sirius.log-request.receive-timeout-secs")

    Permalink

    How long (in seconds) to wait for a log chunk reply before considering it timed out

  30. final val LOG_USE_READ_BUFFER: String("sirius.log.read-buffer-enabled")

    Permalink

    Whether or not to use a buffered reader when reading through the log

  31. final val LOG_USE_WRITE_CACHE: String("sirius.log.write-cache-enabled")

    Permalink

    Whether or not to use the write cache, which will cache the last LOG_WRITE_CACHE_SIZE entries written to the log since startup.

    Whether or not to use the write cache, which will cache the last LOG_WRITE_CACHE_SIZE entries written to the log since startup. May alleviate disk pressure and improve catch up speed, but at the expense of higher memory overhead and (likely) incompatibility with eventual live compaction (boolean)

  32. final val LOG_VERSION_ID: String("sirius.uberstore.impl-version-id")

    Permalink

    Which SiriusLog implementation to use.

    Which SiriusLog implementation to use. See versionId method on classes that implement the SiriusLog trait for possible values. Empty defaults to legacy UberStore.

  33. final val LOG_WRITE_CACHE_SIZE: String("sirius.log.write-cache-size")

    Permalink

    By default Sirius places a write through cache in front of the log, this property dictates its maximum size (int)

  34. final val MAX_AKKA_MESSAGE_SIZE_KB: String("sirius.akka.maximum-frame-size-kb")

    Permalink
  35. final val MBEAN_SERVER: String("sirius.monitoring.mbean-server")

    Permalink

    An MBeanServer, that if configured, will be used to expose metrics around Sirius (MBeanServer)

  36. final val MEMBERSHIP_CHECK_INTERVAL: String("sirius.membership.check-interval-secs")

    Permalink

    How often to check CLUSTER_CONFIG for updates, in seconds (int).

    How often to check CLUSTER_CONFIG for updates, in seconds (int). Also is used to control how often Supervisor checks for updates to membership.

  37. final val MEMBERSHIP_PING_INTERVAL: String("sirius.membership.ping-interval-secs")

    Permalink

    How often to ping the other members of the cluster, recording round-trip.

    How often to ping the other members of the cluster, recording round-trip. Useful for determining cluster liveness.

  38. final val PAXOS_LEADERSHIP_PING_INTERVAL: String("sirius.paxos.leadership-ping-interval")

    Permalink

    How often the LeaderWatcher spawns a LeaderPinger to check on the currently elected leader.

  39. final val PAXOS_LEADERSHIP_PING_TIMEOUT: String("sirius.paxos.leadership-ping-timeout")

    Permalink

    How long to wait for a Pong response from the elected leader before declaring it "gone"

  40. final val PAXOS_MEMBERSHIP_CHECK_INTERVAL: String("sirius.supervisor.paxos-check-interval-secs")

    Permalink

    How often to check the membershipAgent for updates, in seconds (int).

    How often to check the membershipAgent for updates, in seconds (int). Used by the supervisor when determining whether to keep paxos on or off.

  41. final val PORT: String("sirius.akka.port")

    Permalink

    Port to bind akka to (int)

    Port to bind akka to (int)

    Takes precedence over all other akka configuration for port

  42. final val REPROPOSAL_CLEANUP_FREQ: String("sirius.paxos.replica.reproposal-freq-secs")

    Permalink

    How often, in seconds, to reap old proposals (int)

  43. final val REPROPOSAL_WINDOW: String("sirius.paxos.replica.reproposal-window-millis")

    Permalink

    Number of milliseconds for a proposal to live with the possibility of being reproposed.

    Number of milliseconds for a proposal to live with the possibility of being reproposed. This window is not 100% exact at this point- it's precision is REPROPOSAL_CLEANUP_FREQ (long)

  44. final val SIRIUS_SUPERVISOR_NAME: String("sirius.supervisor.name")

    Permalink

    Name of the sirius supervisor, typically we will not change this, but it's here just in case (string)

  45. final val SSL_RANDOM_NUMBER_GENERATOR: String("sirius.akka.ssl.rng")

    Permalink

    Implementation of random number generator to use with SSL security.

    Implementation of random number generator to use with SSL security. Defaults to the no-arg constructor of java.security.SecureRandom.

    Possible values include AES128CounterSecureRNG, AES256CounterSecureRNG, AES128CounterInetRNG, AES256CounterInetRNG, SHA1PRNG. See lines 457-470 of the akka-remote reference configuration for more details; this option is simply passed through to Akka by Sirius.

  46. final val TRUST_STORE_LOCATION: String("sirius.akka.ssl.trust-store.location")

    Permalink

    Support for akka over SSL This is the configurable Java trust store location and is used by the client connection

  47. final val TRUST_STORE_PASSWORD: String("sirius.akka.ssl.trust-store.password")

    Permalink

    Support for akka over SSL Configurable Java trust store password used to decrypt the trust store

  48. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  49. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  52. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  53. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  54. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  55. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  56. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  58. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  59. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  60. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  61. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final val LOG_USE_MEMORY_INDEX: String("sirius.uberstore.use-in-memory-index")

    Permalink

    True to use PersistedSeqIndex (write-through java.util.TreeMap fronted uberstore index file implementation), false to use DiskOnlySeqIndex (raw disk operation uberstore index file implementation).

    True to use PersistedSeqIndex (write-through java.util.TreeMap fronted uberstore index file implementation), false to use DiskOnlySeqIndex (raw disk operation uberstore index file implementation). DiskOnlySeqIndex drastically reduces memory overhead (even in the order of gigabytes less consumption) at the expense of potentially less performant lookup operations (boolean)

    Annotations
    @deprecated
    Deprecated

    (Since version 2013-05-15) Not honored as of sirius-1.0.4, uses raw disk operations only

Inherited from AnyRef

Inherited from Any

Ungrouped