/** * The SetConfig message is used to store a specific configuration. * @param message message to store which holds the configuration. */ public SetConfig(CoordinatorStreamMessage message) { super(message.getKeyArray(), message.getMessageMap()); }
/** * Returns the JMX tunneling url of the container * @return the JMX tunneling url */ public String getJmxTunnelingUrl() { return getMessageValue(JMX_TUNNELING_URL_KEY); }
/** * SteContainerToHostMapping is used to set the container to host mapping information. * @param source the source of the message * @param taskName the taskName which is used to persist the message * @param containerId the hostname of the container */ public SetTaskContainerMapping(String source, String taskName, String containerId) { super(source); setType(TYPE); setKey(taskName); putMessageValue(CONTAINER_KEY, containerId); }
public SetMigrationMetaMessage(String source, String metaInfoKey, String metaInfoVal) { super(source); setType(TYPE); setKey("migration-info"); putMessageValue(metaInfoKey, metaInfoVal); }
/** * Return the configuration value as a string. * @return the configuration as a string */ public String getConfigValue() { return getMessageValue(CONFIG_VALUE_KEY); } }
/** * SetTaskModeMapping is used to set the task to taskMode mapping information. * @param message which holds the mapped information. */ public SetTaskModeMapping(CoordinatorStreamMessage message) { super(message.getKeyArray(), message.getMessageMap()); }
/** * SteContainerToHostMapping is used to set the container to host mapping information. * @param source the source of the message * @param taskName the taskName which is used to persist the message * @param containerId the hostname of the container */ public SetTaskContainerMapping(String source, String taskName, String containerId) { super(source); setType(TYPE); setKey(taskName); putMessageValue(CONTAINER_KEY, containerId); }
public SetMigrationMetaMessage(String source, String metaInfoKey, String metaInfoVal) { super(source); setType(TYPE); setKey("migration-info"); putMessageValue(metaInfoKey, metaInfoVal); }
/** * Returns the JMX url of the container. * @return the JMX url */ public String getJmxUrl() { return getMessageValue(JMX_URL_KEY); }
/** * Return the configuration value as a string. * @return the configuration as a string */ public String getConfigValue() { return getMessageValue(CONFIG_VALUE_KEY); } }
/** * SteContainerToHostMapping is used to set the container to host mapping information. * @param message which holds the container to host information. */ public SetContainerHostMapping(CoordinatorStreamMessage message) { super(message.getKeyArray(), message.getMessageMap()); }
/** * SteContainerToHostMapping is used to set the container to host mapping information. * @param source the source of the message * @param taskName the taskName which is used to persist the message * @param containerId the hostname of the container */ public SetTaskContainerMapping(String source, String taskName, String containerId) { super(source); setType(TYPE); setKey(taskName); putMessageValue(CONTAINER_KEY, containerId); }
/** * Returns the JMX url of the container. * @return the JMX url */ public String getJmxUrl() { return getMessageValue(JMX_URL_KEY); }
/** * Return the configuration value as a string. * @return the configuration as a string */ public String getConfigValue() { return getMessageValue(CONFIG_VALUE_KEY); } }
/** * SetContainerToHostMapping is used to set the container to host mapping information. * @param message which holds the container to host information. */ public SetTaskContainerMapping(CoordinatorStreamMessage message) { super(message.getKeyArray(), message.getMessageMap()); }
/** * Returns the JMX tunneling url of the container * @return the JMX tunneling url */ public String getJmxTunnelingUrl() { return getMessageValue(JMX_TUNNELING_URL_KEY); }
/** * SetContainerToHostMapping is used to set the container to host mapping information. * @param message which holds the container to host information. */ public SetTaskContainerMapping(CoordinatorStreamMessage message) { super(message.getKeyArray(), message.getMessageMap()); }
/** * Returns the JMX url of the container. * @return the JMX url */ public String getJmxUrl() { return getMessageValue(JMX_URL_KEY); }
/** * The SetConfig message is used to store a specific configuration. * @param message message to store which holds the configuration. */ public SetConfig(CoordinatorStreamMessage message) { super(message.getKeyArray(), message.getMessageMap()); }
/** * Returns the JMX tunneling url of the container * @return the JMX tunneling url */ public String getJmxTunnelingUrl() { return getMessageValue(JMX_TUNNELING_URL_KEY); }