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.
-
-
Constructor Summary
Constructors Constructor Description CleanupStaleNodesAndClientsImpl(DeleteAllNodesInList nodeDeleter, DeleteAllClientsInList clientDeleter, ListNodes nodeLister)
-
-
-
Field Detail
-
logger
@Named("jclouds.chef") protected 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 interfaceCleanupStaleNodesAndClients
-
-