import javax.xml.bind.annotation.XmlRootElement;
+import org.onap.dmaap.dbcapi.util.DmaapTimestamp;
+
@XmlRootElement
private String dcaeLocationName;
private String fqdn;
private String[] hosts;
- //private DmaapTimestamp lastMod;
+ private DmaapTimestamp lastMod;
private String topicProtocol;
private String topicPort;
public MR_Cluster() {
this.topicProtocol = defaultTopicProtocol;
this.topicPort = defaultTopicPort;
- this.lastMod = new Date();
+ this.hosts = new String[3];
+ this.lastMod = new DmaapTimestamp();
+ this.lastMod.mark();
debugLogger.debug( "MR_Cluster constructor " + this.lastMod );
String[] h ) {
this.dcaeLocationName = dLN;
this.fqdn = f;
+logger.info( "templog:MR_Cluster at 10" );
+ this.hosts = new String[3];
this.hosts[0] = h[0];
+logger.info( "templog:MR_Cluster at 20" );
this.hosts[1] = h[1];
+logger.info( "templog:MR_Cluster at 30" );
this.hosts[2] = h[2];
+logger.info( "templog:MR_Cluster at 40" );
this.topicProtocol = defaultTopicProtocol;
+logger.info( "templog:MR_Cluster at 50" );
this.topicPort = defaultTopicPort;
+ this.lastMod = new DmaapTimestamp();
+ this.lastMod.mark();
- debugLogger.debug( "MR_Cluster constructor w initialization complete" + this.lastMod );
+ debugLogger.debug( "MR_Cluster constructor w initialization complete" + this.lastMod.getVal() );
+logger.info( "templog:MR_Cluster at 60" );
}
public String getDcaeLocationName() {