com.netflix.astyanax.recipes.storage
Class ObjectReader
java.lang.Object
com.netflix.astyanax.recipes.storage.ObjectReader
- All Implemented Interfaces:
- Callable<ObjectMetadata>
public class ObjectReader
- extends Object
- implements Callable<ObjectMetadata>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectReader
public ObjectReader(ChunkedStorageProvider provider,
String objectName,
OutputStream os)
withBatchSize
public ObjectReader withBatchSize(int size)
withConcurrencyLevel
public ObjectReader withConcurrencyLevel(int level)
withRetryPolicy
public ObjectReader withRetryPolicy(RetryPolicy retryPolicy)
withMaxWaitTime
public ObjectReader withMaxWaitTime(int maxWaitTimeInSeconds)
withCallback
public ObjectReader withCallback(ObjectReadCallback callback)
call
public ObjectMetadata call()
throws Exception
- Specified by:
call
in interface Callable<ObjectMetadata>
- Throws:
Exception
Copyright © 2012. All Rights Reserved.