Skip to content

Commit

Permalink
Marked map query requests as retryable (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbekiaris authored and asimarslan committed Apr 27, 2017
1 parent fabf95f commit 9b37df8
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ Object addEntryListenerWithPredicate(String name, Data predicate, boolean includ
* @return a set clone of the keys contained in this map.
* @see com.hazelcast.instance.GroupProperty#QUERY_RESULT_SIZE_LIMIT
*/
@Request(id = 38, retryable = false, response = ResponseMessageConst.LIST_DATA)
@Request(id = 38, retryable = true, response = ResponseMessageConst.LIST_DATA)
Object keySet(String name);

/**
Expand All @@ -503,7 +503,7 @@ Object addEntryListenerWithPredicate(String name, Data predicate, boolean includ
* @return All values in the map
* @see com.hazelcast.instance.GroupProperty#QUERY_RESULT_SIZE_LIMIT
*/
@Request(id = 40, retryable = false, response = ResponseMessageConst.LIST_DATA)
@Request(id = 40, retryable = true, response = ResponseMessageConst.LIST_DATA)
Object values(String name);

/**
Expand All @@ -516,7 +516,7 @@ Object addEntryListenerWithPredicate(String name, Data predicate, boolean includ
* @return a set clone of the keys mappings in this map
* @see com.hazelcast.instance.GroupProperty#QUERY_RESULT_SIZE_LIMIT
*/
@Request(id = 41, retryable = false, response = ResponseMessageConst.LIST_ENTRY)
@Request(id = 41, retryable = true, response = ResponseMessageConst.LIST_ENTRY)
Object entrySet(String name);

/**
Expand All @@ -530,7 +530,7 @@ Object addEntryListenerWithPredicate(String name, Data predicate, boolean includ
* @return result key set for the query.
* @see com.hazelcast.instance.GroupProperty#QUERY_RESULT_SIZE_LIMIT
*/
@Request(id = 42, retryable = false, response = ResponseMessageConst.LIST_DATA)
@Request(id = 42, retryable = true, response = ResponseMessageConst.LIST_DATA)
Object keySetWithPredicate(String name, Data predicate);

/**
Expand All @@ -544,7 +544,7 @@ Object addEntryListenerWithPredicate(String name, Data predicate, boolean includ
* @return result value collection of the query.
* @see com.hazelcast.instance.GroupProperty#QUERY_RESULT_SIZE_LIMIT
*/
@Request(id = 43, retryable = false, response = ResponseMessageConst.LIST_DATA)
@Request(id = 43, retryable = true, response = ResponseMessageConst.LIST_DATA)
Object valuesWithPredicate(String name, Data predicate);

/**
Expand All @@ -558,7 +558,7 @@ Object addEntryListenerWithPredicate(String name, Data predicate, boolean includ
* @return result key-value entry collection of the query.
* @see com.hazelcast.instance.GroupProperty#QUERY_RESULT_SIZE_LIMIT
*/
@Request(id = 44, retryable = false, response = ResponseMessageConst.LIST_ENTRY)
@Request(id = 44, retryable = true, response = ResponseMessageConst.LIST_ENTRY)
Object entriesWithPredicate(String name, Data predicate);

/**
Expand Down Expand Up @@ -697,7 +697,7 @@ Object addEntryListenerWithPredicate(String name, Data predicate, boolean includ
* @param predicate specified query criteria.
* @return result keys for the query.
*/
@Request(id = 56, retryable = false, response = ResponseMessageConst.LIST_DATA)
@Request(id = 56, retryable = true, response = ResponseMessageConst.LIST_DATA)
Object keySetWithPagingPredicate(String name, Data predicate);

/**
Expand All @@ -711,15 +711,15 @@ Object addEntryListenerWithPredicate(String name, Data predicate, boolean includ
* @return values for the query.
* @see com.hazelcast.instance.GroupProperty#QUERY_RESULT_SIZE_LIMIT
*/
@Request(id = 57, retryable = false, response = ResponseMessageConst.LIST_ENTRY)
@Request(id = 57, retryable = true, response = ResponseMessageConst.LIST_ENTRY)
Object valuesWithPagingPredicate(String name, Data predicate);

/**
* @param name name of map
* @param predicate specified query criteria.
* @return key-value pairs for the query.
*/
@Request(id = 58, retryable = false, response = ResponseMessageConst.LIST_ENTRY)
@Request(id = 58, retryable = true, response = ResponseMessageConst.LIST_ENTRY)
Object entriesWithPagingPredicate(String name, Data predicate);

@Request(id = 59, retryable = false, response = ResponseMessageConst.VOID)
Expand Down

0 comments on commit 9b37df8

Please sign in to comment.