Examples of FixedLeasePeriodPolicy


Examples of com.sun.jini.landlord.FixedLeasePeriodPolicy

 
 
        // Create lease policy -- used by recovery logic, below
        leasePolicy = (LeasePeriodPolicy) Config.getNonNullEntry(config,
      MERCURY, "leasePeriodPolicy", LeasePeriodPolicy.class,
            new FixedLeasePeriodPolicy(3 * HOURS, 1 * HOURS));
        if (initLogger.isLoggable(Level.CONFIG)) {
            initLogger.log(Level.CONFIG, "LeasePeriodPolicy is: {0}",
      leasePolicy);
 
     
View Full Code Here

Examples of com.sun.jini.landlord.FixedLeasePeriodPolicy

  // Create lease policy objects
  entryLeasePolicy = (LeasePeriodPolicy)Config.getNonNullEntry(
      config, COMPONENT_NAME, "entryLeasePeriodPolicy",
            LeasePeriodPolicy.class,
      new FixedLeasePeriodPolicy(Long.MAX_VALUE, 1 * DAYS));

  eventLeasePolicy = (LeasePeriodPolicy)Config.getNonNullEntry(
      config, COMPONENT_NAME, "eventLeasePeriodPolicy",
      LeasePeriodPolicy.class,
      new FixedLeasePeriodPolicy(1 * HOURS, 1 * HOURS));

  contentsLeasePolicy = (LeasePeriodPolicy)Config.getNonNullEntry(
      config, COMPONENT_NAME, "contentsLeasePeriodPolicy",
      LeasePeriodPolicy.class,
      new FixedLeasePeriodPolicy(1 * HOURS, 1 * HOURS));

  nextLimit = Config.getIntEntry(config, COMPONENT_NAME,
            "iteratorBatchSize", 100, 1, Integer.MAX_VALUE);

  takeLimit = Config.getIntEntry(config, COMPONENT_NAME,
View Full Code Here

Examples of com.sun.jini.landlord.FixedLeasePeriodPolicy

        LeasePeriodPolicy provisionerLeasePolicy =
            (LeasePeriodPolicy)Config.getNonNullEntry(config,
                                                      CONFIG_COMPONENT,
                                                      "provisionerLeasePeriodPolicy",
                                                      LeasePeriodPolicy.class,
                                                      new FixedLeasePeriodPolicy(DEFAULT_MAX_LEASE_TIME,
                                                                                 DEFAULT_LEASE_TIME));
        /* Get the ProxyPreparer for ServiceInstantiator instances */
        instantiatorPreparer = (ProxyPreparer)config.getEntry(CONFIG_COMPONENT,
                                                              "instantiatorPreparer",
                                                              ProxyPreparer.class,
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.