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.
...
| Code Block |
|---|
$ ./control.sh --ignite-classpath create --name superapp_v1 --files ./my-app-v1.jar,./grpc-context-1.19.0.jar,./error_prone_annotations-2.1.3.jar
$ ./control.sh --ignite-classpath remove --name superapp_v0
$ ./control.sh --system-view IGNITE_CLASSPATHES |
| Code Block |
|---|
Ignite ignite = ...
IgniteCompute compute = ignite.compute(ignite.cluster().forServers());
// Running compute with the provided jars.
compute.withClasspath("superapp_v1").() -> {
MyLibClass libClass = MyLibClass.getInstance();
// other code.
};
ServiceConfiguration serviceCfg = new ServiceConfiguration();
serviceCfg.setName("mysuperappService_v1");
serviceCfg.setService(new MySuperappServiceImpl());
serviceCfg.setIgniteClasspath("mysuperapp_v1");
ignite.services().deploy(serviceCfg); |
...