Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (57 sloc) 3.536 kb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Enyim.Caching.Memcached.Results;
using Enyim.Caching.Memcached;
using Couchbase.Operations;
using Enyim.Caching;
using Couchbase.Results;
namespace Couchbase
{
public interface ICouchbaseResultsClient : IMemcachedResultsClient
{
IGetOperationResult ExecuteGet(string key, DateTime newExpiration);
IGetOperationResult<T> ExecuteGet<T>(string key, DateTime newExpiration);
IGetOperationResult ExecuteTryGet(string key, DateTime newExpiration, out object value);
IGetOperationResult ExecuteGetWithLock(string key);
IGetOperationResult<T> ExecuteGetWithLock<T>(string key);
IGetOperationResult ExecuteGetWithLock(string key, TimeSpan lockExpiration);
IGetOperationResult<T> ExecuteGetWithLock<T>(string key, TimeSpan lockExpiration);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, PersistTo persistTo, ReplicateTo replicateTo);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, ReplicateTo replicateTo);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, PersistTo persistTo);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, DateTime expiresAt, PersistTo persistTo, ReplicateTo replicateTo);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, DateTime expiresAt, PersistTo persistTo);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, DateTime expiresAt, ReplicateTo replicateTo);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, TimeSpan validFor, PersistTo persistTo, ReplicateTo replicateTo);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, TimeSpan validFor, PersistTo persistTo);
IStoreOperationResult ExecuteStore(StoreMode mode, string key, object value, TimeSpan validFor, ReplicateTo replicateTo);
IRemoveOperationResult ExecuteRemove(string key, PersistTo persisTo, ReplicateTo replicateTo);
IRemoveOperationResult ExecuteRemove(string key, PersistTo persisTo);
IRemoveOperationResult ExecuteRemove(string key, ReplicateTo replicateTo);
IObserveOperationResult Observe(string key, ulong cas, PersistTo persistTo, ReplicateTo replicateTo,
ObserveKeyState persistedKeyState = ObserveKeyState.FoundPersisted,
ObserveKeyState replicatedState = ObserveKeyState.FoundNotPersisted);
}
}
#region [ License information ]
/* ************************************************************
*
* @author Couchbase <info@couchbase.com>
* @copyright 2012 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* ************************************************************/
#endregion
Jump to Line
Something went wrong with that request. Please try again.