org.alfresco.deployment.impl.server
Class DeploymentCommandQueueImpl

java.lang.Object
  extended by org.alfresco.deployment.impl.server.DeploymentCommandQueueImpl
All Implemented Interfaces:
DeploymentCommandQueue

public class DeploymentCommandQueueImpl
extends java.lang.Object
implements DeploymentCommandQueue


Constructor Summary
DeploymentCommandQueueImpl()
           
 
Method Summary
 java.lang.Runnable pollCommand()
          Get a command from the queue
 void queueCommand(java.lang.Runnable command)
          Queue a command object for execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentCommandQueueImpl

public DeploymentCommandQueueImpl()
Method Detail

queueCommand

public void queueCommand(java.lang.Runnable command)
Queue a command object for execution.

Specified by:
queueCommand in interface DeploymentCommandQueue

pollCommand

public java.lang.Runnable pollCommand()
Description copied from interface: DeploymentCommandQueue
Get a command from the queue

Specified by:
pollCommand in interface DeploymentCommandQueue
Returns:
the command or null


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.