DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| ID | IEP-122 | ||||||||
| Author | |||||||||
| Sponsor | |||||||||
| Created |
| ||||||||
| Status |
|
| Table of Contents |
|---|
...
Two new client cache operations are required:
Name | Code |
|---|---|
| OP_CACHE_INVOKE | 1024 |
| OP_CACHE_INVOKE_ALL | 1025 |
| Request | |
|---|---|
| int | Cache Id |
| byte | Flags: standard cache flags, see ClientCacheRequest. Only KEEP_BINARY is applicable. When KEEP_BINARY is set, the entry processor should receive key/val in binary form. |
| BinaryObject | Entry processor |
| byte | Entry processor platform (see ClientPlatform class, 1 = Java) |
| int | Entry processor argument count |
| (Object) * count | Entry processor arguments |
| Response | |
|---|---|
| Object | Result, returned by entry processor |
In case of such response we need some new error code to distinguish entry processor exceptions and and general client/server exceptions.
Alternatively, we can slightly extend response format (also for similarity with OP_CACHE_INVOKE_ALL response):
| Response | |
|---|---|
| boolean | Success flag |
| Object | Result, returned by entry processor, or error message in case of failure |
In this case introduction of the new error code is not required, entry processor exceptions will be indicated by success flag = false, and general client/server exceptions will be handled by response header flag and error code.
| Request | |
|---|---|
| int | Cache Id |
| byte | Flags: standard cache flags, see ClientCacheRequest. Only KEEP_BINARY is applicable. When KEEP_BINARY is set, the entry processor should receive key/val in binary form. |
| int | Keys count |
| (Object) * count | Keys |
| BinaryObject | Entry processor |
| byte | Entry processor platform (see ClientPlatform class, 1 = Java) |
| int | Entry processor argument count |
| (Object) * count | Entry processor arguments |
| Response | |||||||
|---|---|---|---|---|---|---|---|
| int | Count of entry processor results | ||||||
| (EntryProcessorResult) * count |
| ||||||
...
// Describe project risks, such as API or binary compatibility issues, major protocol changes, etc.
https:// Links to discussions on the devlist, if applicable.lists.apache.org/thread/qrxmzcg5tvgot1tl2ko5x4qk08t51slf
| Anchor | ||||
|---|---|---|---|---|
|
...