org.jclouds.chef.strategy.internal
Class CleanupStaleNodesAndClientsImpl
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.chef")
protected org.jclouds.logging.Logger logger
CleanupStaleNodesAndClientsImpl
@Inject
public CleanupStaleNodesAndClientsImpl(DeleteAllNodesInList nodeDeleter,
DeleteAllClientsInList clientDeleter,
ListNodes nodeLister)
execute
public void execute(String prefix,
int secondsStale)
- Specified by:
execute in interface CleanupStaleNodesAndClients
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.