Skip to content

Directives for jvm int/exit handler properties #282

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

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