StoragePolicySatisfier.AttemptedItemInfo@Private
@Evolving
public class ItemInfo
extends java.lang.Object
| Constructor | Description |
|---|---|
ItemInfo(long startPathId,
long fileId) |
|
ItemInfo(long startPathId,
long fileId,
int retryCount) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getFile() |
Returns the file for which needs to satisfy the policy.
|
int |
getRetryCount() |
Get the attempted retry count of the block for satisfy the policy.
|
long |
getStartPath() |
Returns the start path of the current file.
|
void |
increRetryCount() |
Increments the retry count.
|
boolean |
isDir() |
Returns true if the tracking path is a directory, false otherwise.
|
public ItemInfo(long startPathId,
long fileId)
public ItemInfo(long startPathId,
long fileId,
int retryCount)
public long getStartPath()
public long getFile()
public boolean isDir()
public int getRetryCount()
public void increRetryCount()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.