Class ComponentContext
java.lang.Object
org.apache.cassandra.db.streaming.ComponentContext
- All Implemented Interfaces:
AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionchannel(Descriptor descriptor, Component component, long size) voidclose()static ComponentContextmanifest()
-
Method Details
-
create
-
manifest
-
channel
public FileChannel channel(Descriptor descriptor, Component component, long size) throws IOException - Returns:
- file channel to be streamed, either original component or hardlinked component.
- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-