@PublicApi public interface BlockLocationPolicy
Interface for determining the Alluxio worker location to serve a block write or UFS block read.
FileInStream uses this to determine where to read a UFS block.
A policy must have an empty constructor to be used as default policy.
|Modifier and Type||Interface and Description|
The factory for the
Optional<WorkerNetAddress> getWorker(GetWorkerOptions options)
options- the options to get a block worker network address for a block
Copyright © 2022. All Rights Reserved.