Trait

com.sksamuel.pulsar4s

Consumer

Related Doc: package pulsar4s

Permalink

trait Consumer[T] extends Closeable

Linear Supertypes
Closeable, AutoCloseable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Consumer
  2. Closeable
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def acknowledge(messageId: MessageId): Unit

    Permalink
  2. abstract def acknowledgeAsync[F[_]](messageId: MessageId)(implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink
  3. abstract def acknowledgeCumulative(messageId: MessageId): Unit

    Permalink
  4. abstract def acknowledgeCumulative(message: ConsumerMessage[T]): Unit

    Permalink
  5. abstract def acknowledgeCumulativeAsync[F[_]](messageId: MessageId)(implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink
  6. abstract def close(): Unit

    Permalink
    Definition Classes
    Consumer → Closeable → AutoCloseable
  7. abstract def closeAsync[F[_]](implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink
  8. abstract def hasReachedEndOfTopic: Boolean

    Permalink

    Return true if the topic was terminated and this consumer has already consumed all the messages in the topic.

    Return true if the topic was terminated and this consumer has already consumed all the messages in the topic.

    Please note that this does not simply mean that the consumer is caught up with the last message published by producers, rather the topic needs to be explicitly "terminated".

  9. abstract def negativeAcknowledge(messageId: MessageId): Unit

    Permalink
  10. abstract def negativeAcknowledgeAsync[F[_]](messageId: MessageId)(implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink
  11. abstract def receive(duration: FiniteDuration): Try[Option[ConsumerMessage[T]]]

    Permalink

    Receive a single message waiting up to the given duration if necessary.

    Receive a single message waiting up to the given duration if necessary. If no message is received within the duration then None is returned.

  12. abstract def receive: Try[ConsumerMessage[T]]

    Permalink

    Receives a single message.

    Receives a single message. This calls blocks until a message is available.

  13. abstract def receiveAsync[F[_]](implicit arg0: AsyncHandler[F]): F[ConsumerMessage[T]]

    Permalink
  14. abstract def redeliverUnacknowledgedMessages(): Unit

    Permalink
  15. abstract def seek(messageId: MessageId): Unit

    Permalink
  16. abstract def seekAsync[F[_]](messageId: MessageId)(implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink
  17. abstract def stats: ConsumerStats

    Permalink
  18. abstract def subscription: Subscription

    Permalink
  19. abstract def topic: Topic

    Permalink
  20. abstract def unsubscribe(): Unit

    Permalink
  21. abstract def unsubscribeAsync[F[_]](implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink

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. def acknowledge(message: ConsumerMessage[T]): Unit

    Permalink
  5. final def acknowledgeAsync[F[_]](message: ConsumerMessage[T])(implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink
  6. final def acknowledgeCumulativeAsync[F[_]](message: ConsumerMessage[T])(implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink
  7. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def negativeAcknowledge(message: ConsumerMessage[T]): Unit

    Permalink
  17. final def negativeAcknowledgeAsync[F[_]](message: ConsumerMessage[T])(implicit arg0: AsyncHandler[F]): F[Unit]

    Permalink
  18. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. def seekEarliest(): Unit

    Permalink
  21. def seekLatest(): Unit

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

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

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

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

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

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

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped