*/
public void doSave(HAServletTimer haTimer) throws IOException {
haTimer.setInternalLastAccessedTime(System.currentTimeMillis());
byte[] timerState = ReplicationUtil.getByteArray(haTimer, isReplicationCompressionEnabled());
BackingStore replicator = this.getBackingStore();
SimpleMetadata simpleMetadata =
SimpleMetadataFactory.createSimpleMetadata(
haTimer.getVersion(),
haTimer.getInternalLastAccessedTime(), //lastAccessedTime
0L, //maxinactiveinterval
timerState,
haTimer.getExtraParameters() //containerExtraParam
);
if(haTimer.getParentSASId() != null) {
String beKey = SipApplicationSessionUtil.getSipApplicationKey(haTimer.getParentSASId());
simpleMetadata.setBeKey(beKey);
simpleMetadata.setOwningInstanceName(ReplicationUtil.getInstanceName());
}
try {
replicator.save(haTimer.getId(), //id
simpleMetadata, haTimer.isReplicated());