net.spy.memcached.ops.SetConfigOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticache-java-cluster-client Show documentation
Show all versions of elasticache-java-cluster-client Show documentation
Amazon ElastiCache Cluster Client is an enhanced Java library to connect to ElastiCache clusters. This client library has been built upon Spymemcached and is released under the Amazon Software License.
/**
* Copyright (C) 2012-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Amazon Software License (the "License"). You may not use this
* file except in compliance with the License. A copy of the License is located at
* http://aws.amazon.com/asl/
* or in the "license" file accompanying this file. This file is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or
* implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.spy.memcached.ops;
/**
* Operation that represents config set.
*/
public interface SetConfigOperation extends Operation {
/**
* Get the type used for setting the config.
*/
ConfigurationType getType();
/**
* Get the flags to be set.
*/
int getFlags();
/**
* Get the bytes to be set during this operation.
*
*
* Note, this returns an exact reference to the bytes and the data
* must not be modified.
*
*/
byte[] getData();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy