Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directives for jvm int/exit handler properties #282

Open
xfeep opened this issue Apr 16, 2023 · 0 comments
Open

Directives for jvm int/exit handler properties #282

xfeep opened this issue Apr 16, 2023 · 0 comments
Labels

Comments

@xfeep
Copy link
Member

xfeep commented Apr 16, 2023

e.g.

jvm_init_handler_property redis.cluster 'redis1:6379,redis2:6379,redis3:63379';

jvm_exit_handler_property clear.tmp true;
public class MyJvmInitHandler implements  NginxJavaRingHandler, Configurable { 

   .....

     public void config(Map<String, String> cfg) {
        String redisCluster = cfg.get("redis.cluster");
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant