Method | Title |
---|---|
client.add(key, expiry, value) |
添加一個指定不存在的鍵的值 Add a value with the specified key that does not already exist |
client.add(key, expiry, value, transcoder) |
使用自定義的的轉換碼,添加一個指定不存在的鍵的值 Add a value that does not already exist using custom transcoder |
client.append(casunique, key, value) |
追加到現有關鍵值 Append a value to an existing key |
client.append(casunique, key, value, transcoder) |
追加到現有關鍵值 Append a value to an existing key |
client.asyncCAS(key, casunique, value) |
異步比較,並設置一個值 Asynchronously compare and set a value |
client.asyncCAS(key, casunique, expiry, value, transcoder) |
異步比較,並設置與自定義轉碼和有效期的值 Asynchronously compare and set a value with custom transcoder and expiry |
client.asyncCAS(key, casunique, value, transcoder) |
異步比較,並設置一個自定義轉碼的值 Asynchronously compare and set a value with custom transcoder |
client.cas(key, casunique, value) |
比較,並設置 Compare and set |
client.cas(key, casunique, expiry, value, transcoder) |
比較,並設置自定義轉碼和有效期的值 Compare and set with a custom transcoder and expiry |
client.cas(key, casunique, value, transcoder) |
比較和設置自定義轉碼器 Compare and set with a custom transcoder |
client.new CouchbaseClient([ url ] [, urls ] [, username ] [, password ]) |
創建連接到Couchbase服務器 Create connection to Couchbase Server |
client.asyncDecr(key, offset) |
異步減少現有鍵值 Asynchronously decrement the value of an existing key |
client.decr(key, offset) |
減少現有的數字鍵的值 Decrement the value of an existing numeric key |
client.decr(key, offset, default) |
減少現有的數字鍵的值 Decrement the value of an existing numeric key |
client.decr(key, offset, default, expiry) |
減少現有的數字鍵的值 Decrement the value of an existing numeric key |
client.delete(key) |
刪除指定的鍵 Delete the specified key |
client.asyncGetAndTouch(key, expiry) |
異步獲取一個值,並更新過期時間爲一個給定的鍵 Asynchronously get a value and update the expiration time for a given key |
client.asyncGetAndTouch(key, expiry, transcoder) |
異步得到一個值,並更新過期時間,對於一個給定的使用自定義轉碼的鍵 Asynchronously get a value and update the expiration time for a given key using a custom transcoder |
client.getAndTouch(key, expiry) |
獲取一個值,並更新爲給定鍵的過期時間 Get a value and update the expiration time for a given key |
client.getAndTouch(key, expiry, transcoder) |
獲取一個值,並更新過期時間,對於一個給定的使用自定義轉碼的鍵 Get a value and update the expiration time for a given key using a custom transcoder |
client.asyncGet(key) |
異步得到一個單一的鍵 Asynchronously get a single key |
client.asyncGetBulk(keycollection) |
異步獲取多個鍵 Asynchronously get multiple keys |
client.asyncGetBulk(keyn) |
異步獲取多個鍵 Asynchronously get multiple keys |
client.asyncGetBulk(transcoder, keyn) |
使用自定義轉碼異步獲取多個鍵 Asynchronously get multiple keys using a custom transcoder |
client.asyncGetBulk(keycollection, transcoder) |
使用自定義轉碼異步獲取多個鍵 Asynchronously get multiple keys using a custom transcoder |
client.asyncGet(key, transcoder) |
使用自定義轉碼異步獲取單個鍵 Asynchronously get a single key using a custom transcoder |
client.get(key) |
得到一個單一鍵 Get a single key |
client.getBulk(keycollection) |
獲取多個鍵 Get multiple keys |
client.getBulk(keyn) |
獲取多個鍵Get multiple keys |
client.getBulk(transcoder, keyn) |
使用自定義轉碼異步獲取多個鍵 Get multiple keys using a custom transcoder |
client.getBulk(keycollection, transcoder) |
使用自定義轉碼異步獲取多個鍵 Get multiple keys using a custom transcoder |
client.get(key, transcoder) |
使用自定義轉碼異步獲取單個鍵 Get a single key using a custom transcoder |
client.getAndLock(key, expiry, transcoder) |
獲取並鎖定 Get and lock |
client.getAndLock(key, expiry, transcoder) |
異步獲取並鎖定 Get and lock Asynchronously |
client.asyncGets(key) |
異步得到單一的CAS值的鍵值 Asynchronously get single key value with CAS value |
client.asyncGets(key, transcoder) |
異步使用自定義的轉碼器獲取帶有CAS的單一鍵值 Asynchronously get single key value with CAS value using custom transcoder |
client.gets(key) |
獲取帶有CAS的單一鍵值 Get single key value with CAS value |
client.gets(key, transcoder) |
使用自定義的轉碼器獲取帶有CAS的單一鍵值 Get single key value with CAS value using custom transcoder |
client.asyncIncr(key, offset) |
異步增加現有關鍵值 Asynchronously increment the value of an existing key |
client.incr(key, offset) |
增加現有的數字鍵值 Increment the value of an existing numeric key |
client.incr(key, offset, default) |
I增加現有的數字鍵值 ncrement the value of an existing numeric key |
client.incr(key, offset, default, expiry) |
增加現有的數字鍵值 Increment the value of an existing numeric key |
client.prepend(casunique, key, value) |
使用默認的轉碼器爲現有鍵值前添加 Prepend a value to an existing key using the default transcoder |
client.prepend(casunique, key, value, transcoder) |
使用默認的轉碼器爲現有鍵值前添加 Prepend a value to an existing key using a custom transcoder |
client.replace(key, expiry, value) |
用新值更新現有鍵 Update an existing key with a new value |
client.replace(key, expiry, value, transcoder) |
使用自定義轉碼器並用新值更新現有的鍵 Update an existing key with a new value using a custom transcoder |
client.set(key, expiry, value) |
使用指定的鍵存儲值 Store a value using the specified key |
client.set(key, expiry, value, transcoder) |
使用指定的鍵存儲值 Store a value using the specified key |
client.getStats() |
獲取所有連接的統計信息 Get the statistics from all connections |
client.getStats(statname) |
獲取所有連接的統計信息 Get the statistics from all connections |
client.touch(key, expiry) |
更新某項的到期時間 Update the expiry time of an item |
client.unlock(key, casunique) |
解鎖指定的鍵 Unlock |
Java Client Library Method Summary API中文版
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.