commentfix
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5650 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -98,8 +98,8 @@ public class Throttle
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers an attempt at an operation and returns true if the operation should be performed
|
* Registers an attempt at an operation and returns false if the operation should be performed
|
||||||
* or false if it should be throttled (meaning N operations have already been performed in the
|
* or true if it should be throttled (meaning N operations have already been performed in the
|
||||||
* last M seconds).
|
* last M seconds).
|
||||||
*
|
*
|
||||||
* @return true if the throttle is activated, false if the operation can proceed.
|
* @return true if the throttle is activated, false if the operation can proceed.
|
||||||
@@ -110,8 +110,8 @@ public class Throttle
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers an attempt at an operation and returns true if the operation should be performed
|
* Registers an attempt at an operation and returns false if the operation should be performed
|
||||||
* or false if it should be throttled (meaning N operations have already been performed in the
|
* or true if it should be throttled (meaning N operations have already been performed in the
|
||||||
* last M seconds).
|
* last M seconds).
|
||||||
*
|
*
|
||||||
* @param timeStamp the timestamp at which this operation is being attempted.
|
* @param timeStamp the timestamp at which this operation is being attempted.
|
||||||
|
|||||||
Reference in New Issue
Block a user