org.apache.hadoop.hdfs.server.datanode.fsdataset.impl
Class FsDatasetCache.PageRounder

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache.PageRounder
Enclosing class:
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache

public static class FsDatasetCache.PageRounder
extends Object


Constructor Summary
FsDatasetCache.PageRounder()
           
 
Method Summary
 long round(long count)
          Round up a number to the operating system page size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FsDatasetCache.PageRounder

public FsDatasetCache.PageRounder()
Method Detail

round

public long round(long count)
Round up a number to the operating system page size.



Copyright © 2014 Apache Software Foundation. All Rights Reserved.