Class ProcessingPolicy.DefaultPolicies.PassAll$

java.lang.Object
org.apache.pekko.persistence.testkit.ProcessingPolicy.DefaultPolicies.PassAll$
All Implemented Interfaces:
Serializable, ProcessingPolicy<U>, scala.Equals, scala.Product
Enclosing interface:
ProcessingPolicy.DefaultPolicies<U>

public static class ProcessingPolicy.DefaultPolicies.PassAll$ extends Object implements ProcessingPolicy<U>, scala.Product, Serializable
See Also:
  • Field Details

  • Constructor Details

    • PassAll$

      public PassAll$()
  • Method Details

    • tryProcess

      public ProcessingResult tryProcess(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 return ProcessingSuccess, otherwise you should return some of the ProcessingFailure's.

      Specified by:
      tryProcess in interface ProcessingPolicy<U>
      Parameters:
      persistenceId - persistenceId or other id of the processing operation
      processingUnit - details about current operation to be executed
      Returns:
      needed result of processing the operation
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object