Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetty 12 - Remove deprecated methods from QoSFilter #8692

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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