Package com.sleepycat.je.rep.impl.networkRestore.Protocol

Examples of com.sleepycat.je.rep.impl.networkRestore.Protocol.FileReq


        throws IOException, ProtocolException, DatabaseException {

        File envDir = feederManager.getEnvImpl().getEnvironmentHome();
        try {
            while (true) {
                FileReq fileReq = protocol.read(namedChannel.getChannel(),
                                                FileReq.class);
                final String fileName = fileReq.getFileName();

                /*
                 * Calculate the full path for a specified log file name,
                 * especially when this Feeder is configured to run with sub
                 * directories.
View Full Code Here


        throws IOException, ProtocolException, DatabaseException {

        File envDir = feederManager.getEnvImpl().getEnvironmentHome();
        try {
            while (true) {
                FileReq fileReq = protocol.read(namedChannel.getChannel(),
                                                FileReq.class);
                final String fileName = fileReq.getFileName();
                File file = new File(envDir, fileName);
                if (!file.exists()) {
                    throw EnvironmentFailureException.unexpectedState
                        ("Log file not found: " + fileName);
                }
View Full Code Here

TOP

Related Classes of com.sleepycat.je.rep.impl.networkRestore.Protocol.FileReq

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.