L - Location typepublic class MovedBlocks<L>
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MovedBlocks.Locations<L> |
A class for keeping track of a block and its locations
|
| Constructor | Description |
|---|---|
MovedBlocks(long winTimeInterval) |
initialize the moved blocks collection
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
cleanup() |
remove old blocks
|
boolean |
contains(org.apache.hadoop.hdfs.protocol.Block block) |
|
void |
put(MovedBlocks.Locations<L> block) |
add a block thus marking a block to be moved
|
public MovedBlocks(long winTimeInterval)
public void put(MovedBlocks.Locations<L> block)
public boolean contains(org.apache.hadoop.hdfs.protocol.Block block)
public void cleanup()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.