org.apache.activemq.apollo.broker.store

StoreUOW

trait StoreUOW extends Retained

A store uow is used to perform persistent operations as a unit of work.

The uow implements the Retained interface and is thread safe. Once the uow is no longer retained, the unit of work is executed.

The disposer assigned to the uow will be executed once the unit of work is persisted or it has been negated by subsequent storage operations.

Linear Supertypes
Retained, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StoreUOW
  2. Retained
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def complete_asap(): Unit

    Marks this uow as needing to be completed as soon as possible.

    Marks this uow as needing to be completed as soon as possible. If not called, the Store implementation may delay completing the uow in the hopes that a subsequent uow will cancel negate all it operations and thus avoid the cost of the persistence operations.

  2. abstract def dequeue(entry: QueueEntryRecord): Unit

    Removes a queue entry

  3. abstract def enqueue(entry: QueueEntryRecord): Unit

    Adds a queue entry

  4. abstract def on_complete(callback: (Boolean) ⇒ Unit): Unit

    The specified callback is executed once the UOW has fully completed, that is it's been flushed and and synced to disk.

  5. abstract def on_flush(callback: (Boolean) ⇒ Unit): Unit

    The specified callback is executed once the UOW has written to disk and flushed of the application buffers.

  6. abstract def put(key: Buffer, value: Buffer): Unit

    Creates or updates a map entry.

    Creates or updates a map entry. Set value to null to remove the entry.

  7. abstract def release(): Unit

    Definition Classes
    Retained
  8. abstract def retain(): Unit

    Definition Classes
    Retained
  9. abstract def retained(): Int

    Definition Classes
    Retained
  10. abstract def store(message: MessageRecord): Long

    Stores a message.

    Stores a message. Messages a reference counted, so make sure you also enqueue it to queue if you don't want it to be discarded right away.

    This method auto generates and assigns the key field of the message record and returns it.

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. def on_complete(callback: ⇒ Unit): Unit

  18. def on_flush(callback: ⇒ Unit): Unit

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Retained

Inherited from AnyRef

Inherited from Any

Ungrouped