Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The Region interface has a mix of methods, some only work on the server and some only work on the client. We should refactor Region into a ClientRegion and a ServerRegion for the client side and server side.
The ClientRegion could have registerInterest(K key) and all its variants and all variants of local operations and query(java.lang.String queryPredicate), whereas the ServerRegion could have getDistributedLock(java.lang.Object key) and becomeLockGrantor()