Examples of IRODSVfsFileSystem


Examples of org.apache.commons.vfs.provider.irods.IRODSVfsFileSystem

    @Test
    public void testNullClientReconnect() throws Exception {
        // get the gridftp client from the file system and make it null to
        // simulate a client timeout (e.g. maybe client that uses vfs has been
        // left idle for over 30 mins)
        IRODSVfsFileSystem fs = (IRODSVfsFileSystem) this.relativeToFO.getFileSystem();
        IRODSFileSystem client = fs.getClient();
        client = null;
        // now do some operations following the timeout.
        // The fileSystem should perform a reconnect
        vfsTestHelp.doListTest(relativeToFO);
    }
View Full Code Here

Examples of org.apache.commons.vfs.provider.irods.IRODSVfsFileSystem

    @Test
    public void testNullClientReconnect() throws Exception {
        // get the gridftp client from the file system and make it null to
        // simulate a client timeout (e.g. maybe client that uses vfs has been
        // left idle for over 30 mins)
        IRODSVfsFileSystem fs = (IRODSVfsFileSystem) this.relativeToFO.getFileSystem();
        IRODSFileSystem client = fs.getClient();
        client = null;
        // now do some operations following the timeout.
        // The fileSystem should perform a reconnect
        vfsTestHelp.doListTest(relativeToFO);
    }
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.