Interface VersionInfoService<V extends Version>
- Type Parameters:
V- Versioning class
public interface VersionInfoService<V extends Version>
Links resource versions joined with its latest version descriptor.
Useful for determining which resources are too old and can be removed.
-
Method Summary
Modifier and TypeMethodDescriptionProvides all available versions of resource with its timestamp joined with latest version (to compare time)versionsOf(ListRequest<UserIDAuth, PrivateResource> request) Provides all available versions of resource with its timestamp
-
Method Details
-
versionsOf
Stream<Versioned<AbsoluteLocation<ResolvedResource>,PrivateResource, versionsOfV>> (ListRequest<UserIDAuth, PrivateResource> request) Provides all available versions of resource with its timestamp- Parameters:
request- where to list data- Returns:
- resource with timestamp, with its latest snapshot location and version
-
listJoinedWithLatest
Stream<Versioned<AbsoluteLocation<ResolvedResource>,ResolvedResource, listJoinedWithLatestV>> (ListRequest<UserIDAuth, PrivateResource> request) Provides all available versions of resource with its timestamp joined with latest version (to compare time)- Parameters:
request- where to list data- Returns:
- resource with timestamp, with its latest snapshot location (with timestamp) and version
-