Skip navigation links
C D H O P R S T 

C

ConflictHandler - Interface in org.dataconservancy.pass.support.messaging.cri
ConflictHandler is invoked when a 409 Conflict or 412 Precondition Failed is returned in response to a PATCH.
CriticalPath - Class in org.dataconservancy.pass.support.messaging.cri
Provides the guarantees set by CriticalRepositoryInteraction, and boilerplate for interacting with, and modifying the state of, repository resources.
CriticalPath(PassClient, ConflictHandler) - Constructor for class org.dataconservancy.pass.support.messaging.cri.CriticalPath
 
CriticalRepositoryInteraction - Interface in org.dataconservancy.pass.support.messaging.cri
Insures that a series of interactions with the repository for a given PassEntity are not interleaved within the scope of the running JVM.
CriticalRepositoryInteraction.CriticalResult<R,T> - Class in org.dataconservancy.pass.support.messaging.cri
Encapsulates the result of a critical interaction with the repository.
CriticalResult(R, T, boolean) - Constructor for class org.dataconservancy.pass.support.messaging.cri.CriticalRepositoryInteraction.CriticalResult
 
CriticalResult(R, T, boolean, Throwable) - Constructor for class org.dataconservancy.pass.support.messaging.cri.CriticalRepositoryInteraction.CriticalResult
 

D

DefaultConflictHandler - Class in org.dataconservancy.pass.support.messaging.cri
Resolves 412 Precondition Failed responses by re-retrieving the latest state of the resource from the repository, insuring the pre-condition for applying the update still holds, and then applying the update.
DefaultConflictHandler(PassClient) - Constructor for class org.dataconservancy.pass.support.messaging.cri.DefaultConflictHandler
 

H

handleConflict(T, Class<T>, Predicate<T>, Function<T, R>) - Method in interface org.dataconservancy.pass.support.messaging.cri.ConflictHandler
Invoked when a 412 Precondition Failed is returned from a PATCH request to the repository.
handleConflict(T, Class<T>, Predicate<T>, Function<T, R>) - Method in class org.dataconservancy.pass.support.messaging.cri.DefaultConflictHandler
Invoked when a 412 Precondition Failed is returned from a PATCH request to the repository.

O

org.dataconservancy.pass.support.messaging.cri - package org.dataconservancy.pass.support.messaging.cri
 

P

performCritical(URI, Class<T>, Predicate<T>, Predicate<T>, Function<T, R>) - Method in class org.dataconservancy.pass.support.messaging.cri.CriticalPath
Execute a critical interaction with the repository, subject to precondition.
performCritical(URI, Class<T>, Predicate<T>, BiPredicate<T, R>, Function<T, R>) - Method in class org.dataconservancy.pass.support.messaging.cri.CriticalPath
Execute a critical interaction with the repository, subject to precondition.
performCritical(URI, Class<T>, Predicate<T>, Predicate<T>, Function<T, R>) - Method in interface org.dataconservancy.pass.support.messaging.cri.CriticalRepositoryInteraction
Execute a critical interaction with the repository, subject to precondition.
performCritical(URI, Class<T>, Predicate<T>, BiPredicate<T, R>, Function<T, R>) - Method in interface org.dataconservancy.pass.support.messaging.cri.CriticalRepositoryInteraction
Execute a critical interaction with the repository, subject to precondition.

R

resource() - Method in class org.dataconservancy.pass.support.messaging.cri.CriticalRepositoryInteraction.CriticalResult
The state of the PassEntity resource as it was when the interaction with the repository completed.
result() - Method in class org.dataconservancy.pass.support.messaging.cri.CriticalRepositoryInteraction.CriticalResult
The result of executing the critical code path.

S

success() - Method in class org.dataconservancy.pass.support.messaging.cri.CriticalRepositoryInteraction.CriticalResult
Result of evaluating the post condition of the critical path, false otherwise.

T

throwable() - Method in class org.dataconservancy.pass.support.messaging.cri.CriticalRepositoryInteraction.CriticalResult
Captures any exception that may have occurred when executing the critical path.
C D H O P R S T 
Skip navigation links

Copyright © 2019. All rights reserved.