class AgentStoreReaper {

    public static AgentInstanceGroup tagToRemove(AgentInstanceGroup instanceGroup, Scheduler scheduler) {
        return instanceGroup.toBuilder()
                .withAttributes(CollectionsExt.copyAndAdd(instanceGroup.getAttributes(), AgentStoreReaper.INSTANCE_GROUP_REMOVED_ATTRIBUTE, Long.toString(scheduler.now())))
                .build();
    }

    @Inject public  AgentStoreReaper(AgentStoreReaperConfiguration configuration, AgentStore agentStore, Registry registry);
    public  AgentStoreReaper(AgentStoreReaperConfiguration configuration, AgentStore agentStore, Registry registry, Scheduler scheduler);

}