store.sync();
try { store.sync(); } catch ( NamingException e ) { e.printStackTrace();  if ( error == null ) { error = new MultiException( "Grouping many exceptions on root nexus sync()" ); }   error.addThrowable( e ); } }  if ( error != null ) { NamingException total = new NamingException( "Encountered failures " + "while performing a sync() operation on backing stores" ); total.setRootCause( error );
    public void sync() throws NamingException    {        Iterator list = this.backends.values().iterator();        while ( list.hasNext() )        {            BackingStore store = ( BackingStore ) list.next();            store.sync();        }    }