Skip to content

Commit

Permalink
clean-up unnecessary public from interface (apache#3921)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdhabalia authored and merlimat committed Mar 28, 2019
1 parent 0487804 commit c11c48f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ List<String> getAntiAffinityNamespaces(String tenant, String cluster, String nam
* @throws PulsarAdminException
* Unexpected error
*/
public void setBacklogQuota(String namespace, BacklogQuota backlogQuota) throws PulsarAdminException;
void setBacklogQuota(String namespace, BacklogQuota backlogQuota) throws PulsarAdminException;

/**
* Remove a backlog quota policy from a namespace.
Expand All @@ -681,7 +681,7 @@ List<String> getAntiAffinityNamespaces(String tenant, String cluster, String nam
* @throws PulsarAdminException
* Unexpected error
*/
public void removeBacklogQuota(String namespace) throws PulsarAdminException;
void removeBacklogQuota(String namespace) throws PulsarAdminException;

/**
* Set the persistence configuration for all the topics on a namespace.
Expand Down Expand Up @@ -721,7 +721,7 @@ List<String> getAntiAffinityNamespaces(String tenant, String cluster, String nam
* @throws PulsarAdminException
* Unexpected error
*/
public void setPersistence(String namespace, PersistencePolicies persistence) throws PulsarAdminException;
void setPersistence(String namespace, PersistencePolicies persistence) throws PulsarAdminException;

/**
* Get the persistence configuration for a namespace.
Expand Down Expand Up @@ -759,7 +759,7 @@ List<String> getAntiAffinityNamespaces(String tenant, String cluster, String nam
* @throws PulsarAdminException
* Unexpected error
*/
public PersistencePolicies getPersistence(String namespace) throws PulsarAdminException;
PersistencePolicies getPersistence(String namespace) throws PulsarAdminException;

/**
* Set the retention configuration for all the topics on a namespace.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ PartitionedTopicInternalStats getPartitionedInternalStats(String topic)
* @throws PulsarAdminException
* Unexpected error
*/
public void expireMessages(String topic, String subscriptionName, long expireTimeInSeconds)
void expireMessages(String topic, String subscriptionName, long expireTimeInSeconds)
throws PulsarAdminException;

/**
Expand All @@ -843,7 +843,7 @@ public void expireMessages(String topic, String subscriptionName, long expireTim
* Expire messages older than time in seconds
* @return
*/
public CompletableFuture<Void> expireMessagesAsync(String topic, String subscriptionName,
CompletableFuture<Void> expireMessagesAsync(String topic, String subscriptionName,
long expireTimeInSeconds);

/**
Expand All @@ -857,7 +857,7 @@ public CompletableFuture<Void> expireMessagesAsync(String topic, String subscrip
* @throws PulsarAdminException
* Unexpected error
*/
public void expireMessagesForAllSubscriptions(String topic, long expireTimeInSeconds)
void expireMessagesForAllSubscriptions(String topic, long expireTimeInSeconds)
throws PulsarAdminException;

/**
Expand All @@ -869,7 +869,7 @@ public void expireMessagesForAllSubscriptions(String topic, long expireTimeInSec
* @param expireTimeInSeconds
* Expire messages older than time in seconds
*/
public CompletableFuture<Void> expireMessagesForAllSubscriptionsAsync(String topic, long expireTimeInSeconds);
CompletableFuture<Void> expireMessagesForAllSubscriptionsAsync(String topic, long expireTimeInSeconds);

/**
* Peek messages from a topic subscription
Expand Down

0 comments on commit c11c48f

Please sign in to comment.