Class AbstractPersistenceEnvironment.DefaultFailureContinuation

java.lang.Object
com.tangosol.persistence.AbstractPersistenceEnvironment.DefaultFailureContinuation
All Implemented Interfaces:
Continuation<Throwable>
Enclosing class:
AbstractPersistenceEnvironment

public static class AbstractPersistenceEnvironment.DefaultFailureContinuation extends Object implements Continuation<Throwable>
Continuation implementation that accepts a Throwable and throws a PersistenceException. If the provided Throwable is a PersistenceException, it is thrown as is; otherwise, a wrapper PersistenceException is thrown.
  • Constructor Details

    • DefaultFailureContinuation

      public DefaultFailureContinuation(Object oSource)
      Create a new DefaultFailureContinuation for the given exception source.
      Parameters:
      oSource - the object that threw the exception
  • Method Details

    • proceed

      public void proceed(Throwable e)
      Resume the execution after the completion of an asynchronous call.
      Specified by:
      proceed in interface Continuation<Throwable>
      Parameters:
      e - the result of the execution preceding this continuation