final case class Record(itemId: ItemId, application: Application, recordId: UUID, previousRecordId: Option[UUID], state: State, timestamp: Instant, author: Author, payload: Option[Payload]) extends Product with Serializable
Atomic unit of Item. Usually represented as immutable row in a DB table (manifest)
Each record represents some state change of Item
- itemId
string, uniquely identifying set of events (
Item) e.g. FS path- application
application saved this
Record- recordId
record uniq id
- previousRecordId
"parent" record, being consumed but this record, e.g. parent -
PROCESSING, this -FAILED- timestamp
application's **wallclock** timestamp. Note that this can be arbitrary, nothing guarantees its correctness
- author
application that **actually** added the record (imposter)
- payload
application's payload that can be used by subsequent applications/states
- Alphabetic
- By Inheritance
- Record
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Record(itemId: ItemId, application: Application, recordId: UUID, previousRecordId: Option[UUID], state: State, timestamp: Instant, author: Author, payload: Option[Payload])
- itemId
string, uniquely identifying set of events (
Item) e.g. FS path- application
application saved this
Record- recordId
record uniq id
- previousRecordId
"parent" record, being consumed but this record, e.g. parent -
PROCESSING, this -FAILED- timestamp
application's **wallclock** timestamp. Note that this can be arbitrary, nothing guarantees its correctness
- author
application that **actually** added the record (imposter)
- payload
application's payload that can be used by subsequent applications/states
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val application: Application
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val author: Author
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val itemId: ItemId
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val payload: Option[Payload]
- val previousRecordId: Option[UUID]
- val recordId: UUID
-
def
show: String
Human-readable representation
- val state: State
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timestamp: Instant
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )