Class Transactions
- java.lang.Object
-
- org.apache.pulsar.broker.web.PulsarWebResource
-
- org.apache.pulsar.broker.admin.AdminResource
-
- org.apache.pulsar.broker.admin.impl.TransactionsBase
-
- org.apache.pulsar.broker.admin.v3.Transactions
-
@Path("/transactions") @Produces("application/json") @Consumes("application/json") public class Transactions extends TransactionsBase
-
-
Field Summary
-
Fields inherited from class org.apache.pulsar.broker.admin.AdminResource
namespaceName, topicName
-
Fields inherited from class org.apache.pulsar.broker.web.PulsarWebResource
httpRequest, servletContext, uri
-
-
Constructor Summary
Constructors Constructor Description Transactions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetCoordinatorInternalStats(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.String coordinatorId, boolean metadata)voidgetCoordinatorStats(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.Integer coordinatorId)voidgetPendingAckInternalStats(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String subName, boolean metadata)voidgetPendingAckStats(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String subName)voidgetSlowTransactions(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.String timeout, java.lang.Integer coordinatorId)voidgetTransactionBufferStats(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic)voidgetTransactionInBufferStats(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String mostSigBits, java.lang.String leastSigBits)voidgetTransactionInPendingAckStats(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String mostSigBits, java.lang.String leastSigBits, java.lang.String subName)voidgetTransactionMetadata(javax.ws.rs.container.AsyncResponse asyncResponse, boolean authoritative, java.lang.String mostSigBits, java.lang.String leastSigBits)-
Methods inherited from class org.apache.pulsar.broker.admin.impl.TransactionsBase
checkTransactionCoordinatorEnabled, getExistingPersistentTopicAsync, internalGetCoordinatorInternalStats, internalGetCoordinatorStats, internalGetPendingAckInternalStats, internalGetPendingAckStats, internalGetSlowTransactions, internalGetTransactionBufferStats, internalGetTransactionInBufferStats, internalGetTransactionInPendingAckStats, internalGetTransactionMetadata, validateTopicName
-
Methods inherited from class org.apache.pulsar.broker.admin.AdminResource
bookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, dispatchRate, domain, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getSchemaCompatibilityStrategyAsync, getSchemaCompatibilityStrategyAsyncWithoutAuth, getTopicNotFoundErrorMessage, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, internalCreatePartitionedTopic, isLeaderBroker, isManagedLedgerNotFoundException, isNamespaceReplicated, isRedirectException, jsonMapper, namespaceBacklogQuota, replicatorDispatchRate, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateAndGetWorkerService, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePersistentTopicName, validatePersistentTopicName, validatePoliciesReadOnlyAccess, validatePoliciesReadOnlyAccessAsync, validateSuperUserAccess, validateTopicName
-
Methods inherited from class org.apache.pulsar.broker.web.PulsarWebResource
bookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, setPulsar, splitPath, sync, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateClusterOwnershipAsync, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateNamespacePolicyOperationAsync, validatePeerClusterConflict, validateSuperUserAccessAsync, validateTenantOperation, validateTenantOperationAsync, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation, validateTopicPolicyOperationAsync
-
-
-
-
Method Detail
-
getCoordinatorStats
@GET @Path("/coordinatorStats") public void getCoordinatorStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("coordinatorId") java.lang.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") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("mostSigBits") java.lang.String mostSigBits, @PathParam("leastSigBits") java.lang.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") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("mostSigBits") java.lang.String mostSigBits, @PathParam("leastSigBits") java.lang.String leastSigBits, @PathParam("subName") java.lang.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") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic)
-
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") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String subName)
-
getTransactionMetadata
@GET @Path("/transactionMetadata/{mostSigBits}/{leastSigBits}") public void getTransactionMetadata(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("mostSigBits") java.lang.String mostSigBits, @PathParam("leastSigBits") java.lang.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") java.lang.String timeout, @QueryParam("coordinatorId") java.lang.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") java.lang.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") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String subName, @QueryParam("metadata") @DefaultValue("false") boolean metadata)
-
-