
net.spy.memcached.ops.MutatorOperation Maven / Gradle / Ivy
package net.spy.memcached.ops;
/**
* incr and decr operations.
*/
public interface MutatorOperation extends KeyedOperation {
/**
* Get the mutator type used for this operation.
*/
Mutator getType();
/**
* Get the amount we're mutating by.
*/
int getBy();
/**
* Get the default value (for when there's no value to mutate).
*/
long getDefault();
/**
* Get the expiration to set in case of a new entry.
*/
int getExpiration();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy