| Interface | Description |
|---|---|
| ConflictHandler |
ConflictHandler is invoked when a 409 Conflict or 412 Precondition Failed is returned in
response to a PATCH. |
| CriticalRepositoryInteraction |
Insures that a series of interactions with the repository for a given
PassEntity are not interleaved within
the scope of the running JVM. |
| Class | Description |
|---|---|
| CriticalPath |
Provides the guarantees set by
CriticalRepositoryInteraction, and boilerplate for interacting with, and
modifying the state of, repository resources. |
| CriticalRepositoryInteraction.CriticalResult<R,T> |
Encapsulates the result of a critical interaction with the repository.
|
| DefaultConflictHandler |
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. |
Copyright © 2018. All rights reserved.