Interface ReplicationApis
-
@Path("/cores/{coreName}/replication") public interface ReplicationApis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jakarta.ws.rs.core.StreamingOutput
fetchFile(String filePath, String dirType, String offset, String len, Boolean compression, Boolean checksum, double maxWriteMBPerSec, Long gen)
FileListResponse
fetchFileList(long gen)
IndexVersionResponse
fetchIndexVersion()
-
-
-
Method Detail
-
fetchIndexVersion
@GET @Path("/indexversion") IndexVersionResponse fetchIndexVersion() throws IOException
- Throws:
IOException
-
fetchFileList
@GET @Path("/files") FileListResponse fetchFileList(@QueryParam("generation") long gen)
-
fetchFile
@GET @Path("/files/{filePath}") jakarta.ws.rs.core.StreamingOutput fetchFile(@PathParam("filePath") String filePath, @QueryParam("dirType") String dirType, @QueryParam("offset") String offset, @QueryParam("len") String len, @QueryParam("compression") @DefaultValue("false") Boolean compression, @QueryParam("checksum") @DefaultValue("false") Boolean checksum, @QueryParam("maxWriteMBPerSec") double maxWriteMBPerSec, @QueryParam("generation") Long gen)
-
-