Package alluxio.worker.block.io
Class BlockClient
- java.lang.Object
-
- alluxio.worker.block.io.BlockClient
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Direct Known Subclasses:
BlockReader
,BlockWriter
public abstract class BlockClient extends java.lang.Object implements java.io.Closeable
Provides basic tracking and representation for block reader/writer clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockClient.Type
Block client type.
-
Constructor Summary
Constructors Constructor Description BlockClient(BlockClient.Type clientType)
Creates an abstract block reader/writer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BlockClient
public BlockClient(BlockClient.Type clientType)
Creates an abstract block reader/writer.- Parameters:
clientType
- the block client type
-
-