Examples of checkIfInvalid()


Examples of com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid()

    void checkEnv()
        throws EnvironmentFailureException {

        EnvironmentImpl env = envHandle.getEnvironmentImpl();
        if (env != null) {
            env.checkIfInvalid();
        }
    }

    /**
     * Checks that write operations aren't used on a readonly Database.
View Full Code Here

Examples of com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid()

        if (envImpl == null) {
            throw new IllegalStateException
                ("The environment has been closed. " +
                 "This transaction is no longer usable.");
        }
        envImpl.checkIfInvalid();
    }

    /**
     * @throws IllegalStateException via all methods except abort.
     */
 
View Full Code Here

Examples of com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid()

    void checkEnv()
        throws RunRecoveryException {

        EnvironmentImpl env = envHandle.getEnvironmentImpl();
        if (env != null) {
            env.checkIfInvalid();
        }
    }

    /**
     * Invalidate the handle, called by txn.abort by way of DbInternal.
View Full Code Here

Examples of com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid()

            DbEnvPool.getInstance().getExistingEnvironment(envHome);
       
        EnvironmentImpl foundImpl = envInfo.envImpl;
        if (foundImpl != null) {
            /* Check if the environmentImpl is valid. */
            foundImpl.checkIfInvalid();

            /* Successful, increment reference count */
            environmentImpl = foundImpl;
            environmentImpl.incReferenceCount();

View Full Code Here

Examples of com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid()

    void checkEnv()
        throws EnvironmentFailureException {

        EnvironmentImpl env = envHandle.getEnvironmentImpl();
        if (env != null) {
            env.checkIfInvalid();
        }
    }

    /**
     * Checks that write operations aren't used on a readonly Database.
View Full Code Here

Examples of com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid()

    void checkEnv()
        throws RunRecoveryException {

        EnvironmentImpl env = envHandle.getEnvironmentImpl();
        if (env != null) {
            env.checkIfInvalid();
        }
    }

    /**
     * Invalidate the handle, called by txn.abort by way of DbInternal.
View Full Code Here

Examples of com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid()

            DbEnvPool.getInstance().getExistingEnvironment(envHome);
       
        EnvironmentImpl foundImpl = envInfo.envImpl;
        if (foundImpl != null) {
            /* Check if the environmentImpl is valid. */
            foundImpl.checkIfInvalid();

            /* Successful, increment reference count */
            environmentImpl = foundImpl;
            environmentImpl.incReferenceCount();

View Full Code Here

Examples of com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid()

        if (envImpl == null) {
            throw new IllegalStateException
                ("The environment has been closed. " +
                 "This transaction is no longer usable.");
        }
        envImpl.checkIfInvalid();
    }

    /**
     * @throws IllegalStateException via all methods except abort.
     */
 
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.