refactoring

pull/3417/head
Nikita Koksharov 4 years ago
parent 502179094f
commit 1d55ed4c23

@ -15,6 +15,7 @@
*/
package org.redisson.transaction;
import java.time.Instant;
import java.util.Date;
import java.util.concurrent.TimeUnit;
@ -35,6 +36,10 @@ public class BaseTransactionalObject {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
public RFuture<Boolean> expireAtAsync(Instant timestamp) {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
public RFuture<Boolean> expireAtAsync(long timestamp) {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}

@ -29,6 +29,7 @@ import org.redisson.transaction.operation.TransactionalOperation;
import org.redisson.transaction.operation.UnlinkOperation;
import org.redisson.transaction.operation.bucket.*;
import java.time.Instant;
import java.util.Date;
import java.util.List;
import java.util.concurrent.TimeUnit;
@ -81,6 +82,11 @@ public class RedissonTransactionalBucket<V> extends RedissonBucket<V> {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> expireAtAsync(Instant timestamp) {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> clearExpireAsync() {
throw new UnsupportedOperationException("clearExpire method is not supported in transaction");

@ -15,6 +15,7 @@
*/
package org.redisson.transaction;
import java.time.Instant;
import java.util.Collection;
import java.util.Date;
import java.util.List;
@ -88,6 +89,11 @@ public class RedissonTransactionalMap<K, V> extends RedissonMap<K, V> {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> expireAtAsync(Instant timestamp) {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> clearExpireAsync() {
throw new UnsupportedOperationException("clearExpire method is not supported in transaction");

@ -15,6 +15,7 @@
*/
package org.redisson.transaction;
import java.time.Instant;
import java.util.Collection;
import java.util.Date;
import java.util.List;
@ -80,6 +81,11 @@ public class RedissonTransactionalMapCache<K, V> extends RedissonMapCache<K, V>
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> expireAtAsync(Instant timestamp) {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> clearExpireAsync() {
throw new UnsupportedOperationException("clearExpire method is not supported in transaction");

@ -15,6 +15,7 @@
*/
package org.redisson.transaction;
import java.time.Instant;
import java.util.Collection;
import java.util.Date;
import java.util.List;
@ -79,6 +80,11 @@ public class RedissonTransactionalSet<V> extends RedissonSet<V> {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> expireAtAsync(Instant timestamp) {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> clearExpireAsync() {
throw new UnsupportedOperationException("clearExpire method is not supported in transaction");

@ -15,6 +15,7 @@
*/
package org.redisson.transaction;
import java.time.Instant;
import java.util.Collection;
import java.util.Date;
import java.util.List;
@ -69,6 +70,11 @@ public class RedissonTransactionalSetCache<V> extends RedissonSetCache<V> {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> expireAtAsync(Instant timestamp) {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");
}
@Override
public RFuture<Boolean> expireAtAsync(long timestamp) {
throw new UnsupportedOperationException("expireAt method is not supported in transaction");

Loading…
Cancel
Save