New Buffered Rate Limit implementation
This commit is contained in:
parent
571f96c4a9
commit
e684c26796
@ -22,8 +22,8 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.thingsboard.server.dao.nosql.tmp.AbstractBufferedRateExecutor;
|
||||
import org.thingsboard.server.dao.nosql.tmp.AsyncTaskContext;
|
||||
import org.thingsboard.server.dao.util.AbstractBufferedRateExecutor;
|
||||
import org.thingsboard.server.dao.util.AsyncTaskContext;
|
||||
import org.thingsboard.server.dao.util.NoSqlAnyDao;
|
||||
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
@ -18,7 +18,7 @@ package org.thingsboard.server.dao.nosql;
|
||||
import com.datastax.driver.core.Session;
|
||||
import com.datastax.driver.core.Statement;
|
||||
import lombok.Data;
|
||||
import org.thingsboard.server.dao.nosql.tmp.AsyncTask;
|
||||
import org.thingsboard.server.dao.util.AsyncTask;
|
||||
|
||||
/**
|
||||
* Created by ashvayka on 24.10.18.
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.dao.nosql.tmp;
|
||||
package org.thingsboard.server.dao.util;
|
||||
|
||||
import com.google.common.util.concurrent.FutureCallback;
|
||||
import com.google.common.util.concurrent.Futures;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.dao.nosql.tmp;
|
||||
package org.thingsboard.server.dao.util;
|
||||
|
||||
/**
|
||||
* Created by ashvayka on 24.10.18.
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.dao.nosql.tmp;
|
||||
package org.thingsboard.server.dao.util;
|
||||
|
||||
import com.google.common.util.concurrent.SettableFuture;
|
||||
import lombok.Data;
|
||||
@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.thingsboard.server.dao.nosql.tmp;
|
||||
package org.thingsboard.server.dao.util;
|
||||
|
||||
import com.google.common.util.concurrent.ListenableFuture;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user