use of com.ms.silverking.cloud.dht.RetrievalOptions in project SilverKing by Morgan-Stanley.
the class InternalRetrievalOptions method fromSSRetrievalOptions.
public static InternalRetrievalOptions fromSSRetrievalOptions(SSRetrievalOptions options) {
if (options instanceof InternalRetrievalOptions) {
return (InternalRetrievalOptions) options;
} else {
RetrievalOptions retrievalOptions;
retrievalOptions = new RetrievalOptions(null, null, options.getRetrievalType(), WaitMode.GET, options.getVersionConstraint(), null, options.getVerifyIntegrity(), options.getReturnInvalidations(), null, false);
return new InternalRetrievalOptions(retrievalOptions, options.getVerifyIntegrity());
}
}
Aggregations