protected String createSpace(final String spaceId) {
        try {
            Retrier retrier = new Retrier();
            return retrier.execute(new Retriable() {
                @Override
                public String retry() throws Exception {
                    // The actual method being executed
                    snapshotProvider.createSpace(spaceId);
                    return spaceId;
                }
            });
        } catch (Exception e) {
            throw new TaskException("Unable to initialize snapshot restore, " +
                                    "failed creating restore space due to: " +
                                    e.getMessage(), e);
        }
    }
protected String createSpace ( final String spaceId ) { try { Retrier retrier = new Retrier ( ) ; return retrier . execute ( new Retriable ( ) { @ Override public String retry ( ) throws Exception { snapshotProvider . createSpace ( spaceId ) ; return spaceId ; } } ) ; } catch ( Exception e ) { throw new TaskException ( "Unable to initialize snapshot restore, " + "failed creating restore space due to: " + e . getMessage ( ) , e ) ; } }
/*
Creates the space into which the restored snapshot content will be
placed during the restore process