for(int i=0; i<numCreate; i++) {
SubscribeKey sk = new SubscribeKey(glob, "XX");
SubscribeQos sq = new SubscribeQos(glob);
entryArr[i] = new MsgQueueSubscribeEntry(glob, storageId, sk.getData(), sq.getData());
if (i > 0 && (i % step) == 0) {
int loadSize = sk.toXml().length() + sq.toXml().length();
log.info("Overall created #" + i + ": Created " + step + " new MsgQueueSubscribeEntry instances, key+qos size=" + loadSize + ", hit a key to create more ...");
try { System.in.read(); } catch(java.io.IOException e) {}
}
if (log.isLoggable(Level.FINE)) log.fine("Dump meat: " + entryArr[i].toXml());
}