net.spy.memcached.ops.MutatorOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spymemcached Show documentation
Show all versions of spymemcached Show documentation
A simple, asynchronous, single-threaded Memcached client written in java.
The newest version!
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