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;
@ -34,7 +35,11 @@ public class BaseTransactionalObject {
public RFuture<Boolean> expireAtAsync(Date timestamp) {
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;
@ -80,7 +81,12 @@ public class RedissonTransactionalBucket<V> extends RedissonBucket<V> {
public RFuture<Boolean> expireAtAsync(long timestamp) {
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;
@ -87,7 +88,12 @@ public class RedissonTransactionalMap<K, V> extends RedissonMap<K, V> {
public RFuture<Boolean> expireAtAsync(long timestamp) {
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,7 +80,12 @@ public class RedissonTransactionalMapCache<K, V> extends RedissonMapCache<K, V>
public RFuture<Boolean> expireAtAsync(long timestamp) {
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;
@ -78,7 +79,12 @@ public class RedissonTransactionalSet<V> extends RedissonSet<V> {
public RFuture<Boolean> expireAtAsync(long timestamp) {
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;
@ -68,7 +69,12 @@ public class RedissonTransactionalSetCache<V> extends RedissonSetCache<V> {
public RFuture<Boolean> expireAtAsync(Date timestamp) {
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