New Buffered Rate Limit implementation

This commit is contained in:
Andrew Shvayka 2018-10-24 20:06:36 +03:00
parent 571f96c4a9
commit e684c26796
6 changed files with 7 additions and 7 deletions

View File

@ -22,8 +22,8 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Scheduled; import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.thingsboard.server.dao.nosql.tmp.AbstractBufferedRateExecutor; import org.thingsboard.server.dao.util.AbstractBufferedRateExecutor;
import org.thingsboard.server.dao.nosql.tmp.AsyncTaskContext; import org.thingsboard.server.dao.util.AsyncTaskContext;
import org.thingsboard.server.dao.util.NoSqlAnyDao; import org.thingsboard.server.dao.util.NoSqlAnyDao;
import javax.annotation.PreDestroy; import javax.annotation.PreDestroy;

View File

@ -18,7 +18,7 @@ package org.thingsboard.server.dao.nosql;
import com.datastax.driver.core.Session; import com.datastax.driver.core.Session;
import com.datastax.driver.core.Statement; import com.datastax.driver.core.Statement;
import lombok.Data; 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. * Created by ashvayka on 24.10.18.

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * 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.FutureCallback;
import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.Futures;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.thingsboard.server.dao.nosql.tmp; package org.thingsboard.server.dao.util;
/** /**
* Created by ashvayka on 24.10.18. * Created by ashvayka on 24.10.18.

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * 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 com.google.common.util.concurrent.SettableFuture;
import lombok.Data; import lombok.Data;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.thingsboard.server.dao.nosql.tmp; package org.thingsboard.server.dao.util;
import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListenableFuture;