Skip to content

Commit

Permalink
Merge pull request #8692 from eclipse/fix/jetty-12-remove-qosfilter-d…
Browse files Browse the repository at this point in the history
…eprecated-methods

Jetty 12 - Remove deprecated methods from QoSFilter
  • Loading branch information
joakime authored Oct 7, 2022
2 parents fd8863d + d7288cb commit 9acc242
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,18 +288,6 @@ public long getWaitMs()
return _waitMs;
}

/**
* Set the (short) amount of time (in milliseconds) that the filter would wait
* for the semaphore to become available before suspending a request.
*
* @param value wait time (in milliseconds)
* @deprecated use init-param waitMs instead
*/
@Deprecated
public void setWaitMs(long value)
{
LOG.warn("Setter ignored: use waitMs init-param for QoSFilter");
}

/**
* Get the amount of time (in milliseconds) that the filter would suspend
Expand All @@ -313,19 +301,6 @@ public long getSuspendMs()
return _suspendMs;
}

/**
* Set the amount of time (in milliseconds) that the filter would suspend
* a request for while waiting for the semaphore to become available.
*
* @param value suspend time (in milliseconds)
* @deprecated use init-param suspendMs instead
*/
@Deprecated
public void setSuspendMs(long value)
{
LOG.warn("Setter ignored: use suspendMs init-param for QoSFilter");
}

/**
* Get the maximum number of requests allowed to be processed
* at the same time.
Expand All @@ -338,19 +313,6 @@ public int getMaxRequests()
return _maxRequests;
}

/**
* Set the maximum number of requests allowed to be processed
* at the same time.
*
* @param value the number of requests
* @deprecated use init-param maxRequests instead
*/
@Deprecated
public void setMaxRequests(int value)
{
LOG.warn("Setter ignored: use maxRequests init-param for QoSFilter instead");
}

private class QoSAsyncListener implements AsyncListener
{
private final int priority;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,19 +288,6 @@ public long getWaitMs()
return _waitMs;
}

/**
* Set the (short) amount of time (in milliseconds) that the filter would wait
* for the semaphore to become available before suspending a request.
*
* @param value wait time (in milliseconds)
* @deprecated use init-param waitMs instead
*/
@Deprecated
public void setWaitMs(long value)
{
LOG.warn("Setter ignored: use waitMs init-param for QoSFilter");
}

/**
* Get the amount of time (in milliseconds) that the filter would suspend
* a request for while waiting for the semaphore to become available.
Expand All @@ -313,19 +300,6 @@ public long getSuspendMs()
return _suspendMs;
}

/**
* Set the amount of time (in milliseconds) that the filter would suspend
* a request for while waiting for the semaphore to become available.
*
* @param value suspend time (in milliseconds)
* @deprecated use init-param suspendMs instead
*/
@Deprecated
public void setSuspendMs(long value)
{
LOG.warn("Setter ignored: use suspendMs init-param for QoSFilter");
}

/**
* Get the maximum number of requests allowed to be processed
* at the same time.
Expand All @@ -338,19 +312,6 @@ public int getMaxRequests()
return _maxRequests;
}

/**
* Set the maximum number of requests allowed to be processed
* at the same time.
*
* @param value the number of requests
* @deprecated use init-param maxRequests instead
*/
@Deprecated
public void setMaxRequests(int value)
{
LOG.warn("Setter ignored: use maxRequests init-param for QoSFilter instead");
}

private class QoSAsyncListener implements AsyncListener
{
private final int priority;
Expand Down

0 comments on commit 9acc242

Please sign in to comment.