Examples of EnvironmentImpl


Examples of com.sleepycat.je.dbi.EnvironmentImpl

                break;
            case REMOVEDB_AND_CLEAN:
                removeAndClean(env, dbName, true);
                break;
            case ACTIVATE_CLEANER_THREADS:
                EnvironmentImpl envImpl =
                    DbInternal.getEnvironmentImpl(env);
                envImpl.getCleaner().wakeup();
                promptForShutdown = true;
                break;
            case VERIFY_UTILIZATION:
                EnvironmentImpl envImpl2 =
                    DbInternal.getEnvironmentImpl(env);
                VerifyUtils. verifyUtilization
                    (envImpl2,
                     true,  // expectAccurateObsoleteLNCount
                     true,  // expectAccurateObsoleteLNSize
View Full Code Here

Examples of com.sleepycat.je.dbi.EnvironmentImpl

    @SuppressWarnings("unused")
    private static void doEvict(Environment env)
        throws DatabaseException {
           
        /* Push the cache size down by half to force eviction. */
        EnvironmentImpl envImpl = DbInternal.getEnvironmentImpl(env);
        long cacheUsage = envImpl.getMemoryBudget().getCacheMemoryUsage();
        EnvironmentMutableConfig c = new EnvironmentMutableConfig();
        c.setCacheSize(cacheUsage/2);
        env.setMutableConfig(c);

        long start = System.currentTimeMillis();
View Full Code Here

Examples of com.sun.corba.ee.impl.corba.EnvironmentImpl

        PropagationContext ctx = PropagationContextHelper.extract(any);

        // Set up the Environment instance with exception information.
  // The exception can be a SystemException or an UnknownUserException.

  Environment env = new EnvironmentImpl();
  env.exception(null);

        // call the OTS proprietary hook.

        try {
      sender.received_reply(ri.request_id(), ctx, env);
View Full Code Here

Examples of com.sun.corba.se.impl.corba.EnvironmentImpl

     * @result          Environment created
     */
    public synchronized org.omg.CORBA.Environment create_environment()
    {
        checkShutdownState();
        return new EnvironmentImpl();
    }
View Full Code Here

Examples of org.apache.geronimo.corba.dii.EnvironmentImpl

        illegalSingletonOperation();
        return null;
    }

    public org.omg.CORBA.Environment create_environment() {
        return new EnvironmentImpl();
    }
View Full Code Here

Examples of org.apache.tapestry.internal.services.EnvironmentImpl

    }

    @Lifecycle("perthread")
    public static Environment buildEnvironment()
    {
        return new EnvironmentImpl();
    }
View Full Code Here

Examples of org.jbpm.pvm.internal.env.EnvironmentImpl

        String error = scriptContext.getErrorWriter().toString();
        return scriptContext.getWriter().toString().trim();
    }

    private Bindings getBindings(Execution execution) throws RepositoryException {
        EnvironmentImpl environment = EnvironmentImpl.getCurrent();
        final Map<String, Object> vars = ((ExecutionImpl) execution).getVariables();
        Locale locale = (Locale) vars.get("locale");
        final Bindings bindings = new MyBindings(environment);
        ResourceBundle resourceBundle = JahiaResourceBundle.lookupBundle(
                "org.jahia.services.workflow." + ((ExecutionImpl) execution).getProcessDefinition().getKey(), locale);
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.