Skip to content

Directives for jvm int/exit handler properties #282

@xfeep

Description

@xfeep

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");
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Directives for jvm int/exit handler properties · Issue #282 · nginx-clojure/nginx-clojure