private void addJolokiaId ( Map < String , String > pFinalCfg ) { if ( ! pFinalCfg . containsKey ( ConfigKey . AGENT_ID . getKeyValue ( ) ) ) { pFinalCfg . put ( ConfigKey . AGENT_ID . getKeyValue ( ) , NetworkUtil . getAgentId ( hashCode ( ) , "jvm" ) ) ; } pFinalCfg . put ( ConfigKey . AGENT_TYPE . getKeyValue ( ) , "jvm" ) ; }
Add a unique jolokia id for this agent