Package akka.persistence.journal
Class Tagged
- java.lang.Object
-
- akka.persistence.journal.Tagged
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class Tagged extends java.lang.Object implements scala.Product, java.io.Serializable
The journal may support tagging of events that are used by theEventsByTag
query and it may support specifying the tags via anEventAdapter
that wraps the events in aTagged
with the giventags
. The journal may support other ways of doing tagging. Please consult the documentation of the specific journal implementation for more information.The journal will unwrap the event and store the
payload
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tagged
apply(java.lang.Object payload, scala.collection.immutable.Set<java.lang.String> tags)
boolean
canEqual(java.lang.Object x$1)
Tagged
copy(java.lang.Object payload, scala.collection.immutable.Set<java.lang.String> tags)
java.lang.Object
copy$default$1()
scala.collection.immutable.Set<java.lang.String>
copy$default$2()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.lang.Object
payload()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.collection.immutable.Set<java.lang.String>
tags()
java.lang.String
toString()
static scala.Option<scala.Tuple2<java.lang.Object,scala.collection.immutable.Set<java.lang.String>>>
unapply(Tagged x$0)
-
-
-
Method Detail
-
apply
public static Tagged apply(java.lang.Object payload, scala.collection.immutable.Set<java.lang.String> tags)
-
unapply
public static scala.Option<scala.Tuple2<java.lang.Object,scala.collection.immutable.Set<java.lang.String>>> unapply(Tagged x$0)
-
payload
public java.lang.Object payload()
-
tags
public scala.collection.immutable.Set<java.lang.String> tags()
-
copy
public Tagged copy(java.lang.Object payload, scala.collection.immutable.Set<java.lang.String> tags)
-
copy$default$1
public java.lang.Object copy$default$1()
-
copy$default$2
public scala.collection.immutable.Set<java.lang.String> copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-