public interface Replaceable<T>
| Modifier and Type | Method and Description |
|---|---|
T |
replace()
Replace the server's state with the given item.
|
T |
replaceStatus()
Similar to
replace(), but only affects the status subresource |
T replace()
If Resource.lockResourceVersion(String) has been used to lock the resourceVersion,
this operation is effectively a single update attempt against that version.
If Resource.lockResourceVersion(String) has not been called, this operation
will be retried a number of times in the event of a conflict. If a resourceVersion has been set
on the item, the first update attempt will be made against that version. Subsequent attempts will fetch
the latest resourceVersion from the server.
Copyright © 2015–2022 Red Hat. All rights reserved.