Package akka.persistence.testkit
Class ProcessingPolicy.DefaultPolicies.PassAll$
- java.lang.Object
-
- akka.persistence.testkit.ProcessingPolicy.DefaultPolicies.PassAll$
-
- All Implemented Interfaces:
ProcessingPolicy<U>
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- ProcessingPolicy.DefaultPolicies<U>
public static class ProcessingPolicy.DefaultPolicies.PassAll$ extends java.lang.Object implements ProcessingPolicy<U>, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.persistence.testkit.ProcessingPolicy
ProcessingPolicy.DefaultPolicies<U>
-
-
Field Summary
Fields Modifier and Type Field Description static ProcessingPolicy.DefaultPolicies.PassAll$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description PassAll$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
ProcessingResult
tryProcess(java.lang.String persistenceId, U processingUnit)
Emulates behavior of the storage.
-
-
-
Field Detail
-
MODULE$
public static final ProcessingPolicy.DefaultPolicies.PassAll$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
tryProcess
public ProcessingResult tryProcess(java.lang.String persistenceId, U processingUnit)
Description copied from interface:ProcessingPolicy
Emulates behavior of the storage. The function is invoked when any of the plugin's operations is executed. If you need this operation to succeed returnProcessingSuccess
, otherwise you should return some of theProcessingFailure
's.- Specified by:
tryProcess
in interfaceProcessingPolicy<U>
- Parameters:
persistenceId
- persistenceId or other id of the processing operationprocessingUnit
- details about current operation to be executed- Returns:
- needed result of processing the operation
-
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
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-