Package org.gridgain.grid.kernal.ggfs.common

Examples of org.gridgain.grid.kernal.ggfs.common.GridGgfsLogger$Entry


     *
     * @throws Exception If failed.
     */
    @SuppressWarnings("TooBroadScope")
    public void testLogMisc() throws Exception {
        GridGgfsLogger log = GridGgfsLogger.logger(ENDPOINT, GGFS_NAME, LOG_DIR, 10);

        String newFile = "/dir3/file.test";
        String file1 = "/dir3/file1.test";
        String file2 = "/dir3/file1.test";

        log.logMakeDirectory(PATH, PRIMARY);
        log.logRename(PATH, PRIMARY, new GridGgfsPath(newFile));
        log.logListDirectory(PATH, PRIMARY, new String[] { file1, file2 });
        log.logDelete(PATH, PRIMARY, false);

        log.close();

        checkLog(
            new SB().a(U.jvmPid() + d() + TYPE_DIR_MAKE + d() + PATH_STR_ESCAPED + d() + PRIMARY + d(17)).toString(),
            new SB().a(U.jvmPid() + d() + TYPE_RENAME + d() + PATH_STR_ESCAPED + d() + PRIMARY + d(15) + newFile +
                d(2)).toString(),
View Full Code Here

TOP

Related Classes of org.gridgain.grid.kernal.ggfs.common.GridGgfsLogger$Entry

Copyright © 2018 www.massapicom. 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.