Package org.projectnessie.api.v1
Interface RefLogApi
-
- All Known Subinterfaces:
HttpRefLogApi
public interface RefLogApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RefLogResponsegetRefLog(@Valid @NotNull RefLogParams params)Deprecated.
-
-
-
Method Detail
-
getRefLog
@Deprecated RefLogResponse getRefLog(@Valid @NotNull @Valid @NotNull RefLogParams params) throws NessieNotFoundException
Deprecated.Retrieve the reflog, potentially truncated by the backend.The Nessie reflog in this form is deprecated, likely for removal.
Retrieves up to
maxRecordsrefLog-entries starting at the HEAD of current-reflog. The backend may respect the givenmaxrecords hint, but return less or more entries. Backends may also cap the returned entries at a hard-coded limit, the default REST server implementation has such a hard-coded limit.Invoking
getRefLog()does not guarantee to return all refLog entries because the result can be truncated by the backend.To implement paging, check
RefLogResponse.isHasMore()and, iftrue, pass the value ofRefLogResponse.getToken()in the next invocation ofgetRefLog()as thepageTokenparameter.See
org.projectnessie.client.StreamingUtilinnessie-client.- Returns:
RefLogResponse- Throws:
NessieNotFoundException
-
-