org.duracloud.client
Class StoreCaller<T>

java.lang.Object
  extended by org.duracloud.client.StoreCaller<T>

public abstract class StoreCaller<T>
extends Object

This class spins on the abstract 'call()' until it returns successfully or it has run out of tries.

Author:
Andrew Woods Date: Aug 6, 2010

Constructor Summary
StoreCaller()
           
 
Method Summary
 T call()
           
protected abstract  T doCall()
           
abstract  String getLogMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreCaller

public StoreCaller()
Method Detail

call

public T call()

doCall

protected abstract T doCall()
                     throws ContentStoreException
Throws:
ContentStoreException

getLogMessage

public abstract String getLogMessage()


Copyright © 2009-2012 DuraSpace. All Rights Reserved.