Packages

object ShardMapCache

Source
ShardMapCache.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShardMapCache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Config(refreshInterval: FiniteDuration) extends Product with Serializable

    Configuration for the ShardMapCache

    Configuration for the ShardMapCache

    refreshInterval

    How often to refresh the shard cache

  2. sealed abstract class Error extends Exception

    Errors that can be received in the ShardMapCache

  3. final case class ListShardsError(e: Throwable) extends Error with Product with Serializable

    Error for when the cache could not list the shards

    Error for when the cache could not list the shards

    e

    Underlying error

  4. final class LogEncoders extends AnyRef

    LogEncoder instances for the ShardMapCache

  5. final case class ShardForPartitionKeyNotFound(partitionKey: String) extends Error with Product with Serializable

    Error for when the partition key cannot be matched to a shard

    Error for when the partition key cannot be matched to a shard

    partitionKey

    partition key that was not matched

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[F[_]](config: Config, shardMapF: F[Either[Error, ShardMap]], loggerF: F[StructuredLogger[F]], encoders: LogEncoders = LogEncoders.show)(implicit F: Async[F]): Resource[F, ShardMapCache[F]]

    Construct a ShardMapCache

    Construct a ShardMapCache

    config

    ShardMapCache

    shardMapF

    F that supplies a new ShardMap

    loggerF

    F of StructuredLogger

    encoders

    ShardMapCache.LogEncoders. Defaults to show instances

    F

    Async

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. object Config extends Serializable
  21. object LogEncoders

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped