Class

org.locationtech.geomesa.kafka.index.KafkaFeatureCache

AbstractKafkaFeatureCache

Related Doc: package KafkaFeatureCache

Permalink

abstract class AbstractKafkaFeatureCache[T <: AnyRef] extends KafkaFeatureCache with LazyLogging

Linear Supertypes
LazyLogging, KafkaFeatureCache, Closeable, AutoCloseable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractKafkaFeatureCache
  2. LazyLogging
  3. KafkaFeatureCache
  4. Closeable
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractKafkaFeatureCache(expiry: Duration, cleanup: Duration, consistency: Duration)(implicit ticker: Ticker)

    Permalink

Abstract Value Members

  1. abstract def addToIndex(value: T): Unit

    Permalink

    Add a feature to any indices

    Add a feature to any indices

    value

    value to add

    Attributes
    protected
  2. abstract def clearIndex(): Unit

    Permalink

    Clear all features from any indices

    Clear all features from any indices

    Attributes
    protected
  3. abstract def inconsistencies(): Set[SimpleFeature]

    Permalink

    Check for inconsistencies between the main cache and the spatial index

    Check for inconsistencies between the main cache and the spatial index

    returns

    any inconsistent features (i.e. in one but not both indices)

    Attributes
    protected
  4. abstract def query(filter: Filter): Iterator[SimpleFeature]

    Permalink
    Definition Classes
    KafkaFeatureCache
  5. abstract def query(id: String): Option[SimpleFeature]

    Permalink
    Definition Classes
    KafkaFeatureCache
  6. abstract def removeFromIndex(value: T): Unit

    Permalink

    Remove a feature from any indices

    Remove a feature from any indices

    value

    value to remove

    Attributes
    protected
  7. abstract def wrap(feature: SimpleFeature): T

    Permalink

    Create the cache value from a simple feature

    Create the cache value from a simple feature

    feature

    simple feature

    Attributes
    protected

Concrete 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 def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val cache: Cache[String, T]

    Permalink
    Attributes
    protected
  6. def cleanUp(): Unit

    Permalink
  7. def clear(): Unit

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(): Unit

    Permalink
    Definition Classes
    AbstractKafkaFeatureCache → Closeable → AutoCloseable
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  16. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def put(feature: SimpleFeature): Unit

    Permalink

    WARNING: this method is not thread-safe

    WARNING: this method is not thread-safe

    TODO: https://geomesa.atlassian.net/browse/GEOMESA-1409

    Definition Classes
    AbstractKafkaFeatureCacheKafkaFeatureCache
  21. def remove(id: String): Unit

    Permalink

    WARNING: this method is not thread-safe

    WARNING: this method is not thread-safe

    TODO: https://geomesa.atlassian.net/browse/GEOMESA-1409

    Definition Classes
    AbstractKafkaFeatureCacheKafkaFeatureCache
  22. def size(f: Filter): Int

    Permalink
  23. def size(): Int

    Permalink
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from LazyLogging

Inherited from KafkaFeatureCache

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped