Class Transactions


@Path("/transactions") @Produces("application/json") @Consumes("application/json") public class Transactions extends TransactionsBase
  • Constructor Details

    • Transactions

      public Transactions()
  • Method Details

    • getCoordinatorStats

      @GET @Path("/coordinatorStats") public void getCoordinatorStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("coordinatorId") Integer coordinatorId)
    • getTransactionInBufferStats

      @GET @Path("/transactionInBufferStats/{tenant}/{namespace}/{topic}/{mostSigBits}/{leastSigBits}") public void getTransactionInBufferStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @PathParam("mostSigBits") String mostSigBits, @PathParam("leastSigBits") String leastSigBits)
    • getTransactionInPendingAckStats

      @GET @Path("/transactionInPendingAckStats/{tenant}/{namespace}/{topic}/{subName}/{mostSigBits}/{leastSigBits}") public void getTransactionInPendingAckStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @PathParam("mostSigBits") String mostSigBits, @PathParam("leastSigBits") String leastSigBits, @PathParam("subName") String subName)
    • getTransactionBufferStats

      @GET @Path("/transactionBufferStats/{tenant}/{namespace}/{topic}") public void getTransactionBufferStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @QueryParam("lowWaterMarks") @DefaultValue("false") boolean lowWaterMarks)
    • getPendingAckStats

      @GET @Path("/pendingAckStats/{tenant}/{namespace}/{topic}/{subName}") public void getPendingAckStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @PathParam("subName") String subName, @QueryParam("lowWaterMarks") @DefaultValue("false") boolean lowWaterMarks)
    • getTransactionMetadata

      @GET @Path("/transactionMetadata/{mostSigBits}/{leastSigBits}") public void getTransactionMetadata(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("mostSigBits") String mostSigBits, @PathParam("leastSigBits") String leastSigBits)
    • getSlowTransactions

      @GET @Path("/slowTransactions/{timeout}") public void getSlowTransactions(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("timeout") String timeout, @QueryParam("coordinatorId") Integer coordinatorId)
    • getCoordinatorInternalStats

      @GET @Path("/coordinatorInternalStats/{coordinatorId}") public void getCoordinatorInternalStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("coordinatorId") String coordinatorId, @QueryParam("metadata") @DefaultValue("false") boolean metadata)
    • getPendingAckInternalStats

      @GET @Path("/pendingAckInternalStats/{tenant}/{namespace}/{topic}/{subName}") public void getPendingAckInternalStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @PathParam("subName") String subName, @QueryParam("metadata") @DefaultValue("false") boolean metadata)
    • scaleTransactionCoordinators

      @POST @Path("/transactionCoordinator/replicas") public void scaleTransactionCoordinators(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, int replicas)
    • getPositionStatsInPendingAck

      @GET @Path("/positionStatsInPendingAck/{tenant}/{namespace}/{topic}/{subName}/{ledgerId}/{entryId}") public void getPositionStatsInPendingAck(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("topic") @Encoded String encodedTopic, @PathParam("subName") String subName, @PathParam("ledgerId") Long ledgerId, @PathParam("entryId") Long entryId, @QueryParam("batchIndex") Integer batchIndex)