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. Hide All
  2. Show all
  1. StoreUOW
  2. Retained
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. 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.

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

    Removes a queue entry

    Removes a queue entry

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

    Adds a queue entry

    Adds a queue entry

    Attributes
    abstract
  4. 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.

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

    Attributes
    abstract
  5. 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.

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

    Attributes
    abstract
  6. 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.

    Attributes
    abstract
  7. def release (): Unit

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

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

    Attributes
    abstract
    Definition Classes
    Retained
  10. 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.

    Attributes
    abstract

Concrete Value Members

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  20. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Retained

Inherited from AnyRef

Inherited from Any