org.jclouds.chef.strategy.internal
Class CleanupStaleNodesAndClientsImpl

java.lang.Object
  extended by org.jclouds.chef.strategy.internal.CleanupStaleNodesAndClientsImpl
All Implemented Interfaces:
CleanupStaleNodesAndClients

@Singleton
public class CleanupStaleNodesAndClientsImpl
extends Object
implements CleanupStaleNodesAndClients

Cleans up nodes and apis who have been hanging around too long.


Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
CleanupStaleNodesAndClientsImpl(DeleteAllNodesInList nodeDeleter, DeleteAllClientsInList clientDeleter, ListNodes nodeLister)
           
 
Method Summary
 void execute(String prefix, int secondsStale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.chef")
protected org.jclouds.logging.Logger logger
Constructor Detail

CleanupStaleNodesAndClientsImpl

@Inject
public CleanupStaleNodesAndClientsImpl(DeleteAllNodesInList nodeDeleter,
                                              DeleteAllClientsInList clientDeleter,
                                              ListNodes nodeLister)
Method Detail

execute

public void execute(String prefix,
                    int secondsStale)
Specified by:
execute in interface CleanupStaleNodesAndClients


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.