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 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


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 © 2010 Atlassian. All Rights Reserved.