public class ConnectionThrottle extends Object
Constructor and Description |
---|
ConnectionThrottle(int throttleTime,
int throttleLimit) |
Modifier and Type | Method and Description |
---|---|
boolean |
throttle(SocketAddress socketAddress) |
void |
unthrottle(SocketAddress socketAddress) |
public ConnectionThrottle(int throttleTime, int throttleLimit)
public void unthrottle(SocketAddress socketAddress)
public boolean throttle(SocketAddress socketAddress)
Copyright © 2012–2020 SpigotMC. All rights reserved.