- All Known Subinterfaces:
SegmentClient
@HttpExchange("segments")
public interface SegmentApi
-
Method Summary
-
Method Details
-
createDistributor
@PostExchange("/distributor/{namespace}/{name}")
void createDistributor(@PathVariable
String namespace,
@PathVariable
String name,
@RequestParam
long offset,
@RequestParam
long step)
-
nextMaxId
@PatchExchange("/{namespace}/{name}")
long nextMaxId(@PathVariable
String namespace,
@PathVariable
String name,
@RequestParam
long step)