org.apache.hadoop.hdfs.server.balancer
Class Dispatcher.DDatanode.StorageGroup

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup
Direct Known Subclasses:
Dispatcher.Source
Enclosing class:
Dispatcher.DDatanode

public class Dispatcher.DDatanode.StorageGroup
extends Object

A group of storages in a datanode with the same storage type.


Method Summary
 org.apache.hadoop.hdfs.protocol.DatanodeInfo getDatanodeInfo()
           
 StorageType getStorageType()
           
 void incScheduledSize(long size)
          increment scheduled size
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getStorageType

public StorageType getStorageType()

getDatanodeInfo

public org.apache.hadoop.hdfs.protocol.DatanodeInfo getDatanodeInfo()

incScheduledSize

public void incScheduledSize(long size)
increment scheduled size


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.