Package edu.sdsc.grid.io.srb

Examples of edu.sdsc.grid.io.srb.SRBFileExt.list()


        long start = System.currentTimeMillis();
        int TIMEOUT = 5000;

        SRBFileSystemExt sys = unresponsiveZone.getFileSystem();

        RemoteFile[] children = unresponsiveZone.list(TIMEOUT);

        System.out.println("children:");

        for(int i = 0; i < children.length; i++)
        {
View Full Code Here


        SRBFileExt unresponsiveZone = new SRBFileExt(sys, "/" + SRB_ZONE);

        long start = System.currentTimeMillis();
        int TIMEOUT = 10000;

        RemoteFile[] result = unresponsiveZone.list(TIMEOUT);

        long now = System.currentTimeMillis();
        System.out.println("diff: " + (now - start));

        assertTrue(result.length > 0);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.