com.atlassian.bamboo.agent.elastic.server
Class EBSVolumeSupervisorImpl

java.lang.Object
  extended by com.atlassian.bamboo.agent.elastic.server.EBSVolumeSupervisorImpl

public class EBSVolumeSupervisorImpl
extends java.lang.Object


Constructor Summary
EBSVolumeSupervisorImpl(RemoteElasticInstance remoteElasticInstance, java.util.concurrent.ScheduledExecutorService scheduledExecutorService, long ebsVolumeSupervisionIntervalInSeconds)
           
 
Method Summary
 java.util.List<com.atlassian.aws.ec2.EBSVolume> getVolumeList()
          Displays the volumes collected.
 void purge()
          Tries to delete all of the volumes collected
 void start()
          Starts collecting volume info
 void stop()
          Stops the background monitoring of volumes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EBSVolumeSupervisorImpl

public EBSVolumeSupervisorImpl(RemoteElasticInstance remoteElasticInstance,
                               java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
                               long ebsVolumeSupervisionIntervalInSeconds)
Method Detail

start

public void start()
Starts collecting volume info


stop

public void stop()
Stops the background monitoring of volumes


purge

public void purge()
Tries to delete all of the volumes collected


getVolumeList

@Nullable
public java.util.List<com.atlassian.aws.ec2.EBSVolume> getVolumeList()
Displays the volumes collected.

Returns:
Null if nothing has been collected yet


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.