Java 类org.apache.hadoop.hdfs.server.namenode.CacheManager 实例源码

项目:hadoop    文件:CacheReplicationMonitor.java   
public CacheReplicationMonitor(FSNamesystem namesystem,
    CacheManager cacheManager, long intervalMs, ReentrantLock lock) {
  this.namesystem = namesystem;
  this.blockManager = namesystem.getBlockManager();
  this.cacheManager = cacheManager;
  this.cachedBlocks = cacheManager.getCachedBlocks();
  this.intervalMs = intervalMs;
  this.lock = lock;
  this.doRescan = this.lock.newCondition();
  this.scanFinished = this.lock.newCondition();
}
项目:hadoop    文件:BlockReaderTestUtil.java   
public static void enableHdfsCachingTracing() {
  LogManager.getLogger(CacheReplicationMonitor.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(CacheManager.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(FsDatasetCache.class.getName()).setLevel(
      Level.TRACE);
}
项目:aliyun-oss-hadoop-fs    文件:CacheReplicationMonitor.java   
public CacheReplicationMonitor(FSNamesystem namesystem,
    CacheManager cacheManager, long intervalMs, ReentrantLock lock) {
  this.namesystem = namesystem;
  this.blockManager = namesystem.getBlockManager();
  this.cacheManager = cacheManager;
  this.cachedBlocks = cacheManager.getCachedBlocks();
  this.intervalMs = intervalMs;
  this.lock = lock;
  this.doRescan = this.lock.newCondition();
  this.scanFinished = this.lock.newCondition();
}
项目:aliyun-oss-hadoop-fs    文件:BlockReaderTestUtil.java   
public static void enableHdfsCachingTracing() {
  LogManager.getLogger(CacheReplicationMonitor.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(CacheManager.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(FsDatasetCache.class.getName()).setLevel(
      Level.TRACE);
}
项目:big-c    文件:CacheReplicationMonitor.java   
public CacheReplicationMonitor(FSNamesystem namesystem,
    CacheManager cacheManager, long intervalMs, ReentrantLock lock) {
  this.namesystem = namesystem;
  this.blockManager = namesystem.getBlockManager();
  this.cacheManager = cacheManager;
  this.cachedBlocks = cacheManager.getCachedBlocks();
  this.intervalMs = intervalMs;
  this.lock = lock;
  this.doRescan = this.lock.newCondition();
  this.scanFinished = this.lock.newCondition();
}
项目:big-c    文件:BlockReaderTestUtil.java   
public static void enableHdfsCachingTracing() {
  LogManager.getLogger(CacheReplicationMonitor.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(CacheManager.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(FsDatasetCache.class.getName()).setLevel(
      Level.TRACE);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:CacheReplicationMonitor.java   
public CacheReplicationMonitor(FSNamesystem namesystem,
    CacheManager cacheManager, long intervalMs, ReentrantLock lock) {
  this.namesystem = namesystem;
  this.blockManager = namesystem.getBlockManager();
  this.cacheManager = cacheManager;
  this.cachedBlocks = cacheManager.getCachedBlocks();
  this.intervalMs = intervalMs;
  this.lock = lock;
  this.doRescan = this.lock.newCondition();
  this.scanFinished = this.lock.newCondition();
}
项目:hadoop-2.6.0-cdh5.4.3    文件:BlockReaderTestUtil.java   
public static void enableHdfsCachingTracing() {
  LogManager.getLogger(CacheReplicationMonitor.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(CacheManager.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(FsDatasetCache.class.getName()).setLevel(
      Level.TRACE);
}
项目:FlexMap    文件:CacheReplicationMonitor.java   
public CacheReplicationMonitor(FSNamesystem namesystem,
    CacheManager cacheManager, long intervalMs, ReentrantLock lock) {
  this.namesystem = namesystem;
  this.blockManager = namesystem.getBlockManager();
  this.cacheManager = cacheManager;
  this.cachedBlocks = cacheManager.getCachedBlocks();
  this.intervalMs = intervalMs;
  this.lock = lock;
  this.doRescan = this.lock.newCondition();
  this.scanFinished = this.lock.newCondition();
}
项目:FlexMap    文件:BlockReaderTestUtil.java   
public static void enableHdfsCachingTracing() {
  LogManager.getLogger(CacheReplicationMonitor.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(CacheManager.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(FsDatasetCache.class.getName()).setLevel(
      Level.TRACE);
}
项目:hadoop-on-lustre2    文件:CacheReplicationMonitor.java   
public CacheReplicationMonitor(FSNamesystem namesystem,
    CacheManager cacheManager, long intervalMs, ReentrantLock lock) {
  this.namesystem = namesystem;
  this.blockManager = namesystem.getBlockManager();
  this.cacheManager = cacheManager;
  this.cachedBlocks = cacheManager.getCachedBlocks();
  this.intervalMs = intervalMs;
  this.lock = lock;
  this.doRescan = this.lock.newCondition();
  this.scanFinished = this.lock.newCondition();
}
项目:hadoop-on-lustre2    文件:BlockReaderTestUtil.java   
public static void enableHdfsCachingTracing() {
  LogManager.getLogger(CacheReplicationMonitor.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(CacheManager.class.getName()).setLevel(
      Level.TRACE);
  LogManager.getLogger(FsDatasetCache.class.getName()).setLevel(
      Level.TRACE);
}