@Path(value="/transactions") @Produces(value="application/json") @Consumes(value="application/json") public class Transactions extends TransactionsBase
namespaceName, topicNamehttpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
Transactions() |
| Modifier and Type | Method and Description |
|---|---|
void |
getCoordinatorInternalStats(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
String coordinatorId,
boolean metadata) |
void |
getCoordinatorStats(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
Integer coordinatorId) |
void |
getPendingAckInternalStats(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
String tenant,
String namespace,
String encodedTopic,
String subName,
boolean metadata) |
void |
getPendingAckStats(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
String tenant,
String namespace,
String encodedTopic,
String subName) |
void |
getSlowTransactions(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
String timeout,
Integer coordinatorId) |
void |
getTransactionBufferStats(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
String tenant,
String namespace,
String encodedTopic) |
void |
getTransactionInBufferStats(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
String tenant,
String namespace,
String encodedTopic,
String mostSigBits,
String leastSigBits) |
void |
getTransactionInPendingAckStats(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
String tenant,
String namespace,
String encodedTopic,
String mostSigBits,
String leastSigBits,
String subName) |
void |
getTransactionMetadata(javax.ws.rs.container.AsyncResponse asyncResponse,
boolean authoritative,
String mostSigBits,
String leastSigBits) |
checkTransactionCoordinatorEnabled, getExistingPersistentTopicAsync, internalGetCoordinatorInternalStats, internalGetCoordinatorStats, internalGetPendingAckInternalStats, internalGetPendingAckStats, internalGetSlowTransactions, internalGetTransactionBufferStats, internalGetTransactionInBufferStats, internalGetTransactionInPendingAckStats, internalGetTransactionMetadata, validateTopicNamebookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, dispatchRate, domain, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getSchemaCompatibilityStrategyAsync, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, isLeaderBroker, isManagedLedgerNotFoundException, isNamespaceReplicated, jsonMapper, mergeNamespaceWithDefaults, namespaceBacklogQuota, replicatorDispatchRate, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePersistentTopicName, validatePersistentTopicName, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTopicNamebookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, handleCommonRestAsyncException, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, setPulsar, splitPath, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateTenantOperation, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation@GET
@Path(value="/coordinatorStats")
public void getCoordinatorStats(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@QueryParam(value="coordinatorId")
Integer coordinatorId)
@GET
@Path(value="/transactionInBufferStats/{tenant}/{namespace}/{topic}/{mostSigBits}/{leastSigBits}")
public void getTransactionInBufferStats(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@PathParam(value="mostSigBits")
String mostSigBits,
@PathParam(value="leastSigBits")
String leastSigBits)
@GET
@Path(value="/transactionInPendingAckStats/{tenant}/{namespace}/{topic}/{subName}/{mostSigBits}/{leastSigBits}")
public void getTransactionInPendingAckStats(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@PathParam(value="mostSigBits")
String mostSigBits,
@PathParam(value="leastSigBits")
String leastSigBits,
@PathParam(value="subName")
String subName)
@GET
@Path(value="/transactionBufferStats/{tenant}/{namespace}/{topic}")
public void getTransactionBufferStats(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic)
@GET
@Path(value="/pendingAckStats/{tenant}/{namespace}/{topic}/{subName}")
public void getPendingAckStats(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@PathParam(value="subName")
String subName)
@GET
@Path(value="/transactionMetadata/{mostSigBits}/{leastSigBits}")
public void getTransactionMetadata(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@PathParam(value="mostSigBits")
String mostSigBits,
@PathParam(value="leastSigBits")
String leastSigBits)
@GET
@Path(value="/slowTransactions/{timeout}")
public void getSlowTransactions(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@PathParam(value="timeout")
String timeout,
@QueryParam(value="coordinatorId")
Integer coordinatorId)
@GET
@Path(value="/coordinatorInternalStats/{coordinatorId}")
public void getCoordinatorInternalStats(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@PathParam(value="coordinatorId")
String coordinatorId,
@QueryParam(value="metadata") @DefaultValue(value="false")
boolean metadata)
@GET
@Path(value="/pendingAckInternalStats/{tenant}/{namespace}/{topic}/{subName}")
public void getPendingAckInternalStats(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@PathParam(value="subName")
String subName,
@QueryParam(value="metadata") @DefaultValue(value="false")
boolean metadata)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.