Package org.apache.derby.iapi.services.monitor

Examples of org.apache.derby.iapi.services.monitor.ModuleFactory


    {
      Thread.yield();
    }
    else
    {
      ModuleFactory mf = Monitor.getMonitor();
      if (mf != null)
        mf.setThreadPriority(Thread.MIN_PRIORITY);
      Thread.yield();
      if (mf != null)
        mf.setThreadPriority(oldPriority);
    }
  }
View Full Code Here


  public void boot(boolean create, Properties startParams)
    throws StandardException
  {

    ModuleFactory monitor = Monitor.getMonitor();
    if (create)
    {
      if (startParams.getProperty(Property.CREATE_WITH_NO_LOG) == null)
        startParams.put(Property.CREATE_WITH_NO_LOG, "true");

      String localeID =
                startParams.getProperty(
                    org.apache.derby.iapi.reference.Attribute.TERRITORY);

      if (localeID == null) {
        localeID = Locale.getDefault().toString();
      }
      databaseLocale = monitor.setLocale(startParams, localeID);

    } else {
      databaseLocale = monitor.getLocale(this);
    }
    setLocale(databaseLocale);     

    // boot the validation needed to do property validation, now property
    // validation is separated from AccessFactory, therefore from store
View Full Code Here

    {
      currentThread.yield();
    }
    else
    {
      ModuleFactory mf = Monitor.getMonitor();
      if (mf != null)
        mf.setThreadPriority(Thread.MIN_PRIORITY);
      currentThread.yield();
      if (mf != null)
        mf.setThreadPriority(oldPriority);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.services.monitor.ModuleFactory

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.