Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISPN-6300 Add missing bindings to dist remote exec
* Added cacheManager and context parameters as bindings for distributed remote task execution. * Marshaller not currently passed since the marshaller in the context can't easily be initialised in the distributed tasks. * Added tests to verify that bindings are correctly set for normal remote execution and typed remote execution.
- Loading branch information
1 parent
4f0f1bd
commit e23b912
Showing
8 changed files
with
107 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
client/hotrod-client/src/test/resources/typed-put-get-dist.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
// mode=distributed,language=javascript,parameters=[k, v],datatype='text/plain; charset=utf-8' | |||
var cache = cacheManager.getCache(); | |||
cache.put(k, v); | |||
cache.get(k); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
// mode=distributed,language=javascript,parameters=[k, v] | |||
var cache = cacheManager.getCache(); | |||
cache.put(k, v); | |||
cache.get(k); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
// mode=local,language=javascript,parameters=[k, v] | |||
var cache = cacheManager.getCache(); | |||
cache.put(k, v); | |||
cache.get(k); |