Package org.apache.manifoldcf.core.interfaces

Examples of org.apache.manifoldcf.core.interfaces.ILockManager


      entered = true;
      ManifoldCF.sleep(5000);
      // If all worked, then we can start the daemon.
      // Clear the agents shutdown signal.
      IThreadContext tc = ThreadContextFactory.make();
      ILockManager lockManager = LockManagerFactory.make(tc);
      lockManager.clearGlobalFlag(agentShutdownSignal);
 
      daemonThread = new DaemonThread();
      daemonThread.start();
    }
  }
View Full Code Here


            break;
          }
        }

        // Shut down daemon
        ILockManager lockManager = LockManagerFactory.make(tc);
        lockManager.setGlobalFlag(agentShutdownSignal);
     
        // Wait for daemon thread to exit.
        while (true)
        {
          if (daemonThread.isAlive())
View Full Code Here

      IThreadContext tc = ThreadContextFactory.make();
      // Now, start the server, and then wait for the shutdown signal.  On shutdown, we have to actually do the cleanup,
      // because the JVM isn't going away.
      try
      {
        ILockManager lockManager = LockManagerFactory.make(tc);
        while (true)
        {
          // Any shutdown signal yet?
          if (lockManager.checkGlobalFlag(agentShutdownSignal))
            break;
           
          // Start whatever agents need to be started
          ManifoldCF.startAgents(tc);
View Full Code Here

      entered = true;
      ManifoldCF.sleep(5000);
      // If all worked, then we can start the daemon.
      // Clear the agents shutdown signal.
      IThreadContext tc = ThreadContextFactory.make();
      ILockManager lockManager = LockManagerFactory.make(tc);
      lockManager.clearGlobalFlag(agentShutdownSignal);
 
      daemonThread = new DaemonThread();
      daemonThread.start();
    }
  }
View Full Code Here

            break;
          }
        }

        // Shut down daemon
        ILockManager lockManager = LockManagerFactory.make(tc);
        lockManager.setGlobalFlag(agentShutdownSignal);
     
        // Wait for daemon thread to exit.
        while (true)
        {
          if (daemonThread.isAlive())
View Full Code Here

      IThreadContext tc = ThreadContextFactory.make();
      // Now, start the server, and then wait for the shutdown signal.  On shutdown, we have to actually do the cleanup,
      // because the JVM isn't going away.
      try
      {
        ILockManager lockManager = LockManagerFactory.make(tc);
        while (true)
        {
          // Any shutdown signal yet?
          if (lockManager.checkGlobalFlag(agentShutdownSignal))
            break;
           
          // Start whatever agents need to be started
          ManifoldCF.startAgents(tc);
View Full Code Here

      entered = true;
      ManifoldCF.sleep(5000);
      // If all worked, then we can start the daemon.
      // Clear the agents shutdown signal.
      IThreadContext tc = ThreadContextFactory.make();
      ILockManager lockManager = LockManagerFactory.make(tc);
      lockManager.clearGlobalFlag(agentShutdownSignal);
 
      daemonThread = new DaemonThread();
      daemonThread.start();
    }
  }
View Full Code Here

            break;
          }
        }

        // Shut down daemon
        ILockManager lockManager = LockManagerFactory.make(tc);
        lockManager.setGlobalFlag(agentShutdownSignal);
     
        // Wait for daemon thread to exit.
        while (true)
        {
          if (daemonThread.isAlive())
View Full Code Here

      IThreadContext tc = ThreadContextFactory.make();
      // Now, start the server, and then wait for the shutdown signal.  On shutdown, we have to actually do the cleanup,
      // because the JVM isn't going away.
      try
      {
        ILockManager lockManager = LockManagerFactory.make(tc);
        while (true)
        {
          // Any shutdown signal yet?
          if (lockManager.checkGlobalFlag(agentShutdownSignal))
            break;
           
          // Start whatever agents need to be started
          ManifoldCF.startAgents(tc);
View Full Code Here

TOP

Related Classes of org.apache.manifoldcf.core.interfaces.ILockManager

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.