protected Iterator<String> getSpaceContents(String spaceId) {
        for (int i = 0; i < maxRetries; i++) {
            try {
                return s3Provider.getSpaceContents(spaceId, null);
            } catch (Exception e) {
                log.warn("Exception encountered attempting to get contents " +
                         "for streaming space: " + spaceId +
                         ", error message: " + e.getMessage());
                wait(i);
            }
        }
        throw new DuraCloudRuntimeException("Exceeded retries attempting to " +
                                            "get space contents for " + spaceId);
    }
protected Iterator < String > getSpaceContents ( String spaceId ) { for ( int i = 0 ; i < maxRetries ; i ++ ) { try { return s3Provider . getSpaceContents ( spaceId , null ) ; } catch ( Exception e ) { log . warn ( "Exception encountered attempting to get contents " + "for streaming space: " + spaceId + ", error message: " + e . getMessage ( ) ) ; wait ( i ) ; } } throw new DuraCloudRuntimeException ( "Exceeded retries attempting to " + "get space contents for " + spaceId ) ; }
/*
Get a listing of items in a space