-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collection API - 생략 가능 인자 처리. #439
Comments
@sUpniverse @hjyun328 의견 바랍니다. |
@jhpark816 @sUpniverse |
@jhpark816 @hjyun328 |
@jhpark816 @hjyun328 // b+tree
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long bkey, ElementFlagFilter eFlagFilter, boolean withDelete, boolean dropIfEmpty)
CollectionFuture<Map<Long, Element<T>>> asyncBopGet(String key, long bkey, ElementFlagFilter eFlagFilter, boolean withDelete, boolean dropIfEmpty, Transcoder<T> tc)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long from, long to, ElementFlagFilter eFlagFilter, int offset, int count, boolean withDelete, boolean dropIfEmpty)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long from, long to, ElementFlagFilter eFlagFilter, int offset, int count, boolean withDelete, boolean dropIfEmpty, Transcoder<T> tc)
CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to, ElementFlagFilter eFlagFilter, int offset, int count)
CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to, ElementFlagFilter eFlagFilter, int offset, int count, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, byte[] eFlag, Object value, CollectionAttributes attributesForCreate)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, byte[] eFlag, T value, CollectionAttributes attributesForCreate, Transcoder<T> tc)
Future<Map<String, CollectionOperationStatus>> asyncBopInsertBulk(List<String> keyList, long bkey, byte[] eFlag, Object value, CollectionAttributes attributesForCreate)
Future<Map<String, CollectionOperationStatus>> asyncBopInsertBulk(List<String> keyList, long bkey, byte[] eFlag, T value, CollectionAttributes attributesForCreate, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopUpsert(String key, byte[] bkey, byte[] elementFlag, Object value, CollectionAttributes attributesForCreate)
CollectionFuture<Boolean> asyncBopUpsert(String key, byte[] bkey, byte[] elementFlag, Object value, CollectionAttributes attributesForCreate, Transcoder<T> tc)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet( List<String> keyList, long from, long to, ElementFlagFilter eFlagFilter, int offset, int count)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet(List<String> keyList, long from, long to, ElementFlagFilter eFlagFilter, int count, SMGetMode smgetMode)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet(List<String> keyList, byte[] from, byte[] to, ElementFlagFilter eFlagFilter, int offset, int count)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet(List<String> keyList, byte[] from, byte[] to, ElementFlagFilter eFlagFilter, int count, SMGetMode smgetMode)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopInsertAndGetTrimmed(String key, long bkey, byte[] eFlag, Object value, CollectionAttributes attributesForCreate)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopInsertAndGetTrimmed(String key, byte[] bkey, byte[] eFlag, Object value, CollectionAttributes attributesForCreate)
BTreeStoreAndGetFuture<Boolean, E> asyncBopInsertAndGetTrimmed(String key, long bkey, byte[] eFlag, E value, CollectionAttributes attributesForCreate, Transcoder<E> transcoder)
BTreeStoreAndGetFuture<Boolean, E> asyncBopInsertAndGetTrimmed(String key, byte[] bkey, byte[] eFlag, E value, CollectionAttributes attributesForCreate, Transcoder<E> transcoder)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopUpsertAndGetTrimmed(String key, long bkey, byte[] eFlag, Object value, CollectionAttributes attributesForCreate)
BTreeStoreAndGetFuture<Boolean, E> asyncBopUpsertAndGetTrimmed(String key, long bkey, byte[] eFlag, E value, CollectionAttributes attributesForCreate, Transcoder<E> transcoder)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopUpsertAndGetTrimmed(String key, byte[] bkey, byte[] eFlag, Object value, CollectionAttributes attributesForCreate)
BTreeStoreAndGetFuture<Boolean, E> asyncBopUpsertAndGetTrimmed(String key, byte[] bkey, byte[] eFlag, E value, CollectionAttributes attributesForCreate, Transcoder<E> transcoder)
CollectionFuture<Long> asyncBopIncr(String key, long bkey, int by, long initial, byte[] eFlag)
CollectionFuture<Long> asyncBopIncr(String key, byte[] bkey, int by, long initial, byte[] eFlag)
CollectionFuture<Long> asyncBopDecr(String key, long bkey, int by, long initial, byte[] eFlag)
CollectionFuture<Long> asyncBopDecr(String key, byte[] bkey, int by, long initial, byte[] eFlag)
CollectionFuture<Boolean> asyncBopDelete(String key, long bkey, ElementFlagFilter eFlagFilter, boolean dropIfEmpty)
CollectionFuture<Boolean> asyncBopDelete(String key, long from, long to, ElementFlagFilter eFlagFilter, int count, boolean dropIfEmpty)
// map
CollectionFuture<Map<String, Object>> asyncMopGet(String key, boolean withDelete, boolean dropIfEmpty)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, boolean withDelete, boolean dropIfEmpty, Transcoder<T> tc)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, String mkey, boolean withDelete, boolean dropIfEmpty)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, String mkey, boolean withDelete, boolean dropIfEmpty, Transcoder<T> tc)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, List<String> mkeyList, boolean withDelete, boolean dropIfEmpty)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, List<String> mkeyList, boolean withDelete, boolean dropIfEmpty, Transcoder<T> tc)
CollectionFuture<Integer> asyncBopGetItemCount(String key, byte[] from, byte[] to, ElementFlagFilter eFlagFilter)
CollectionFuture<Boolean> asyncMopDelete(String key, boolean dropIfEmpty)
CollectionFuture<Boolean> asyncMopDelete(String key, String mkey, boolean dropIfEmpty)
// list
CollectionFuture<List<Object>> asyncLopGet(String key, int index, boolean withDelete, boolean dropIfEmpty, )
CollectionFuture<List<Object>> asyncLopGet(String key, int index, boolean withDelete, boolean dropIfEmpty, Transcoder<T> tc)
CollectionFuture<List<Object>> asyncLopGet(String key, int from, int to, boolean withDelete, boolean dropIfEmpty)
CollectionFuture<List<Object>> asyncLopGet(String key, int from, int to, boolean withDelete, boolean dropIfEmpty, Transcoder<T> tc)
CollectionFuture<Boolean> asyncLopDelete(String key, int index, boolean dropIfEmpty)
CollectionFuture<Boolean> asyncLopDelete(String key, int from, int to, boolean dropIfEmpty)
// set
CollectionFuture<Set<Object>> asyncSopGet(String key, int count, boolean withDelete, boolean dropIfEmpty)
CollectionFuture<Set<Object>> asyncSopGet(String key, int count, boolean withDelete, boolean dropIfEmpty, Transcoder<T> tc)
CollectionFuture<Boolean> asyncSopDelete(String key, Object value, boolean dropIfEmpty)
CollectionFuture<Boolean> asyncSopDelete(String key, Object value, boolean dropIfEmpty, Transcoder<T> tc)
// 생성자 추가 대상
CollectionInsert(T value, byte[] elementFlag, boolean createKeyIfNotExists, RequestMode requestMode, CollectionAttributes attr)
BTreeInsert(T value, byte[] eFlag, boolean createKeyIfNotExists, RequestMode requestMode, CollectionAttributes attr)
BTreeUpsert(T value, byte[] eFlag, boolean createKeyIfNotExists, RequestMode requestMode, CollectionAttributes attr)
BTreeInsertAndGet(Command cmd, long bkey, byte[] eFlag, T value, CollectionAttributes attributesForCreate)
BTreeInsertAndGet(Command cmd, byte[] bkey, byte[] eFlag, T value, CollectionAttributes attributesForCreate)
BTreeBulkInsert(MemcachedNode node, List<String> keyList, long bkey, byte[] eflag, T value, CollectionAttributes attr, Transcoder<T> tc)
BTreeBulkInsert(MemcachedNode node, List<String> keyList, byte[] bkey, byte[] eflag, T value, CollectionAttributes attr, Transcoder<T> tc)
BTreeMutate(Mutator m, int by, long initial, byte[] eFlag)
BTreeSMGetWithByteTypeBkeyOld(MemcachedNode node, List<String> keyList, byte[] from, byte[] to, ElementFlagFilter eFlagFilter, int offset, int count)
BTreeGetBulkWithLongTypeBkey(MemcachedNode node, List<String> keyList, long from, long to, ElementFlagFilter eFlagFilter, int offset, int count)
BTreeGetBulkWithByteTypeBkey(MemcachedNode node, List<String> keyList, byte[] from, byte[] to, ElementFlagFilter eFlagFilter, int offset, int count)
BTreeGetBulkImpl(MemcachedNode node, List<String> keyList, long from, long to, ElementFlagFilter eFlagFilter, int offset, int count)
BTreeGetBulkImpl(MemcachedNode node, List<String> keyList, byte[] from, byte[] to, ElementFlagFilter eFlagFilter, int offset, int count)
BTreeGetBulkImpl(MemcachedNode node, List<String> keyList, long bkey, ElementFlagFilter eFlagFilter, int offset, int count)
BTreeElement(K bkey, byte[] eflag, V value)
Element(byte[] bkey, T value, byte[] eflag)
Element(long bkey, T value, byte[] eflag) |
@sUpniverse @hjyun328 |
server의 ascii 문서를 참고하여
추가할 API 목록을 작성 후 작업을 진행하면 됩니다. |
@sUpniverse // list
CollectionFuture<List<Object>> asyncLopGet(String key, int index)
CollectionFuture<List<Object>> asyncLopGet(String key, int index, Transcoder<T> tc)
CollectionFuture<List<Object>> asyncLopGet(String key, int from, int to)
CollectionFuture<List<Object>> asyncLopGet(String key, int from, int to, Transcoder<T> tc)
CollectionFuture<Boolean> asyncLopDelete(String key, int index)
CollectionFuture<Boolean> asyncLopDelete(String key, int from, int to)
// set
CollectionFuture<Set<Object>> asyncSopGet(String key, int count)
CollectionFuture<Set<Object>> asyncSopGet(String key, int count, Transcoder<T> tc)
CollectionFuture<Boolean> asyncSopDelete(String key, Object value)
CollectionFuture<Boolean> asyncSopDelete(String key, Object value, Transcoder<T> tc)
//map
CollectionFuture<Map<String, Object>> asyncMopGet(String key)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, Transcoder<T> tc)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, String mkey)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, String mkey, Transcoder<T> tc)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, List<String> mkeyList)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, List<String> mkeyList, Transcoder<T> tc)
CollectionFuture<Boolean> asyncMopDelete(String key)
CollectionFuture<Boolean> asyncMopDelete(String key, String mkey)
//b+tree
// bkey, from, to가 byte[] 형식인 메소드들은 생략
CollectionFuture<Integer> asyncBopGetItemCount(String key, long from, long to)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long bkey)
CollectionFuture<Map<Long, Element<T>>> asyncBopGet(String key, long bkey, Transcoder<T> tc)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long from, long to, int offset, int count)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long from, long to, int offset, int count, Transcoder<T> tc)
CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to, int offset, int count)
CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to, int offset, int count, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, Object value, CollectionAttributes attributesForCreate)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, T value, CollectionAttributes attributesForCreate, Transcoder<T> tc)ong, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to, int offset, int count, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, Object value, CollectionAttributes attributesForCreate)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, T value, CollectionAttributes attributesForCreate, Transcoder<T> tc)
Future<Map<String, CollectionOperationStatus>> asyncBopInsertBulk(List<String> keyList, long bkey, Object value)
Future<Map<String, CollectionOperationStatus>> asyncBopInsertBulk(List<String> keyList, long bkey, T value, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopUpsert(String key, long bkey, Object value)
CollectionFuture<Boolean> asyncBopUpsert(String key, long bkey, Object value, Transcoder<T> tc)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet( List<String> keyList, long from, long to, int offset, int count)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet(List<String> keyList, long from, long to, int count, SMGetMode smgetMode)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopInsertAndGetTrimmed(String key, long bkey, Object value)
BTreeStoreAndGetFuture<Boolean, E> asyncBopInsertAndGetTrimmed(String key, long bkey, E value, Transcoder<E> transcoder)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopUpsertAndGetTrimmed(String key, long bkey, Object value)
BTreeStoreAndGetFuture<Boolean, E> asyncBopUpsertAndGetTrimmed(String key, long bkey, E value, Transcoder<E> transcoder)
CollectionFuture<Long> asyncBopIncr(String key, long bkey, int by) //eflag와 동시에 initial도 삭제하였습니다
CollectionFuture<Long> asyncBopDecr(String key, long bkey, int by)
CollectionFuture<Boolean> asyncBopDelete(String key, long bkey)
CollectionFuture<Boolean> asyncBopDelete(String key, long from, long to, int count) //count(필수): from~to 범위 내에서 앞에서부터 count 개수만큼 삭제 |
bopGet 의 offset arugemnt는 생략 불가능 한가요? |
@sUpniverse // list
CollectionFuture<List<Object>> asyncLopGet(String key, int index)
CollectionFuture<List<Object>> asyncLopGet(String key, int index, Transcoder<T> tc)
CollectionFuture<List<Object>> asyncLopGet(String key, int from, int to)
CollectionFuture<List<Object>> asyncLopGet(String key, int from, int to, Transcoder<T> tc)
CollectionFuture<Boolean> asyncLopDelete(String key, int index)
CollectionFuture<Boolean> asyncLopDelete(String key, int from, int to)
// set
CollectionFuture<Set<Object>> asyncSopGet(String key, int count)
CollectionFuture<Set<Object>> asyncSopGet(String key, int count, Transcoder<T> tc)
CollectionFuture<Boolean> asyncSopDelete(String key, Object value)
CollectionFuture<Boolean> asyncSopDelete(String key, Object value, Transcoder<T> tc)
//map
CollectionFuture<Map<String, Object>> asyncMopGet(String key)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, Transcoder<T> tc)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, String mkey)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, String mkey, Transcoder<T> tc)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, List<String> mkeyList)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, List<String> mkeyList, Transcoder<T> tc)
CollectionFuture<Boolean> asyncMopDelete(String key)
CollectionFuture<Boolean> asyncMopDelete(String key, String mkey)
//b+tree
// bkey, from, to가 byte[] 형식인 메소드들도 구현 필요
CollectionFuture<Integer> asyncBopGetItemCount(String key, long from, long to)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long bkey)
CollectionFuture<Map<Long, Element<T>>> asyncBopGet(String key, long bkey, Transcoder<T> tc)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long from, long to)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long from, long to, Transcoder<T> tc)
CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to)
CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, Object value, CollectionAttributes attributesForCreate)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, T value, CollectionAttributes attributesForCreate, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, Object value, CollectionAttributes attributesForCreate)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, T value, CollectionAttributes attributesForCreate, Transcoder<T> tc)
Future<Map<String, CollectionOperationStatus>> asyncBopInsertBulk(List<String> keyList, long bkey, Object value)
Future<Map<String, CollectionOperationStatus>> asyncBopInsertBulk(List<String> keyList, long bkey, T value, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopUpsert(String key, long bkey, Object value)
CollectionFuture<Boolean> asyncBopUpsert(String key, long bkey, Object value, Transcoder<T> tc)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet( List<String> keyList, long from, long to)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet(List<String> keyList, long from, long to, SMGetMode smgetMode)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopInsertAndGetTrimmed(String key, long bkey, Object value)
BTreeStoreAndGetFuture<Boolean, E> asyncBopInsertAndGetTrimmed(String key, long bkey, E value, Transcoder<E> transcoder)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopUpsertAndGetTrimmed(String key, long bkey, Object value)
BTreeStoreAndGetFuture<Boolean, E> asyncBopUpsertAndGetTrimmed(String key, long bkey, E value, Transcoder<E> transcoder)
CollectionFuture<Long> asyncBopIncr(String key, long bkey, int by)
CollectionFuture<Long> asyncBopDecr(String key, long bkey, int by)
CollectionFuture<Boolean> asyncBopDelete(String key, long bkey)
CollectionFuture<Boolean> asyncBopDelete(String key, long from, long to, int count) //count(필수): from~to 범위 내에서 앞에서부터 count 개수만큼 삭제 |
코멘트입니다.
|
코멘트에 대한 답변입니다!
|
@oliviarla @sUpniverse @uhm0311
|
@sUpniverse @uhm0311 |
@jhpark816 @oliviarla
위의 API 와 같이 Transcoder에 제네릭T가 선언되어 있는데, 그 이유는 value의 type과 transcoder의 type을 맞추기 위함입니다. |
작성해준 API중에 위의 API도 count 를 제거해도 될 것 같습니다. |
@oliviarla @sUpniverse |
수정된 작업 예정 목록입니다.
@Override
public CollectionFuture<Boolean> asyncMopDelete(String key, List<String> mkeyList, boolean dropIfEmpty)
//list
CollectionFuture<List<Object>> asyncLopGet(String key, int index)
CollectionFuture<List<T>> asyncLopGet(String key, int index, Transcoder<T> tc)
CollectionFuture<List<Object>> asyncLopGet(String key, int from, int to)
CollectionFuture<List<T>> asyncLopGet(String key, int from, int to, Transcoder<T> tc)
//set
CollectionFuture<Set<Object>> asyncSopGet(String key, int count)
CollectionFuture<Set<T>> asyncSopGet(String key, int count, Transcoder<T> tc)
//map
CollectionFuture<Map<String, Object>> asyncMopGet(String key)
CollectionFuture<Map<String, T>> asyncMopGet(String key, Transcoder<T> tc)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, String mkey)
CollectionFuture<Map<String, T>> asyncMopGet(String key, String mkey, Transcoder<T> tc)
CollectionFuture<Map<String, Object>> asyncMopGet(String key, List<String> mkeyList)
CollectionFuture<Map<String, T>> asyncMopGet(String key, List<String> mkeyList, Transcoder<T> tc) |
@oliviarla |
@sUpniverse |
overloading의 목적으로 동일 API들이 |
@oliviarla @sUpniverse |
bop에 대한 추가 API 제공 목록입니다. //b+tree
// bkey, from, to가 byte[] 형식인 메소드들도 동일하게 구현
CollectionFuture<Integer> asyncBopGetItemCount(String key, long from, long to)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long bkey)
CollectionFuture<Map<Long, Element<T>>> asyncBopGet(String key, long bkey, Transcoder<T> tc)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long from, long to)
CollectionFuture<Map<Long, Element<Object>>> asyncBopGet(String key, long from, long to, Transcoder<T> tc)
CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to)
CollectionGetBulkFuture<Map<String, BTreeGetResult<Long, Object>>> asyncBopGetBulk( List<String> keyList, long from, long to, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, Object value, CollectionAttributes attributesForCreate)
CollectionFuture<Boolean> asyncBopInsert(String key, long bkey, T value, CollectionAttributes attributesForCreate, Transcoder<T> tc)
Future<Map<String, CollectionOperationStatus>> asyncBopInsertBulk(List<String> keyList, long bkey, Object value)
Future<Map<String, CollectionOperationStatus>> asyncBopInsertBulk(List<String> keyList, long bkey, T value, Transcoder<T> tc)
CollectionFuture<Boolean> asyncBopUpsert(String key, long bkey, Object value)
CollectionFuture<Boolean> asyncBopUpsert(String key, long bkey, T value, Transcoder<T> tc)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet( List<String> keyList, long from, long to, int count)
SMGetFuture<List<SMGetElement<Object>>> asyncBopSortMergeGet(List<String> keyList, long from, long to, int count, SMGetMode smgetMode)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopInsertAndGetTrimmed(String key, long bkey, Object value)
BTreeStoreAndGetFuture<Boolean, E> asyncBopInsertAndGetTrimmed(String key, long bkey, E value, Transcoder<E> transcoder)
BTreeStoreAndGetFuture<Boolean, Object> asyncBopUpsertAndGetTrimmed(String key, long bkey, Object value)
BTreeStoreAndGetFuture<Boolean, E> asyncBopUpsertAndGetTrimmed(String key, long bkey, E value, Transcoder<E> transcoder)
CollectionFuture<Long> asyncBopIncr(String key, long bkey, int by)
CollectionFuture<Long> asyncBopDecr(String key, long bkey, int by)
//delete 메소드일 경우 eFlagFilter를 제외한 BopDelete만 추가 구현할 것
CollectionFuture<Boolean> asyncBopDelete(String key, long bkey, boolean dropIfEmpty)
CollectionFuture<Boolean> asyncBopDelete(String key, long from, long to, boolean dropIfEmpty) |
@oliviarla |
@oliviarla @sUpniverse
추가 사항으로, bop API 추가한 PR 후에, |
Cache server API에서는 생략 가능한 인자이지만, client API에서는 필수 인자로 받고 있다.
따라서, client API 호출 시에 불필요하게 많은 인자를 넘기고 있다.
예를 들어, asyncBopGet API에서 생략 가능한 인자는 아래와 같다.
읽기 쉬운 코드를 위해 생략되는 인자를 제외하는 API 제공하는 것은 어떤지 ?
The text was updated successfully, but these errors were encountered: