public RecoverConnectableAtomicAction(String type, Uid rcvUid, InputObjectState os) throws ObjectStoreException, IOException { super(rcvUid); this.recoveringAs = type; // Unpack BasicAction::save_state preamble Header hdr = new Header(); unpackHeader(os, hdr); os.unpackBoolean(); // FYI pastFirstParticipant // Take a look at the first record type int record_type = os.unpackInt(); if (record_type == RecordType.COMMITMARKABLERESOURCE) { // Its one we are interested in jndiName = os.unpackString(); xid = XidImple.unpack(os); hasCompleted = os.unpackBoolean(); } }
public RecoverConnectableAtomicAction(String type, Uid rcvUid, InputObjectState os) throws ObjectStoreException, IOException { super(rcvUid); this.recoveringAs = type; // Unpack BasicAction::save_state preamble Header hdr = new Header(); unpackHeader(os, hdr); os.unpackBoolean(); // FYI pastFirstParticipant // Take a look at the first record type int record_type = os.unpackInt(); if (record_type == RecordType.COMMITMARKABLERESOURCE) { // Its one we are interested in jndiName = os.unpackString(); xid = XidImple.unpack(os); hasCompleted = os.unpackBoolean(); if (hasCompleted) { wasCommitted = os.unpackBoolean(); } } }
public RecoverConnectableAtomicAction(String type, Uid rcvUid, InputObjectState os) throws ObjectStoreException, IOException { super(rcvUid); this.recoveringAs = type; // Unpack BasicAction::save_state preamble Header hdr = new Header(); unpackHeader(os, hdr); os.unpackBoolean(); // FYI pastFirstParticipant // Take a look at the first record type int record_type = os.unpackInt(); if (record_type == RecordType.COMMITMARKABLERESOURCE) { // Its one we are interested in jndiName = os.unpackString(); xid = XidImple.unpack(os); hasCompleted = os.unpackBoolean(); if (hasCompleted) { wasCommitted = os.unpackBoolean(); } } }
public RecoverConnectableAtomicAction(String type, Uid rcvUid, InputObjectState os) throws ObjectStoreException, IOException { super(rcvUid); this.recoveringAs = type; // Unpack BasicAction::save_state preamble Header hdr = new Header(); unpackHeader(os, hdr); os.unpackBoolean(); // FYI pastFirstParticipant // Take a look at the first record type int record_type = os.unpackInt(); if (record_type == RecordType.COMMITMARKABLERESOURCE) { // Its one we are interested in jndiName = os.unpackString(); xid = XidImple.unpack(os); hasCompleted = os.unpackBoolean(); if (hasCompleted) { wasCommitted = os.unpackBoolean(); } } }
public RecoverConnectableAtomicAction(String type, Uid rcvUid, InputObjectState os) throws ObjectStoreException, IOException { super(rcvUid); this.recoveringAs = type; // Unpack BasicAction::save_state preamble Header hdr = new Header(); unpackHeader(os, hdr); os.unpackBoolean(); // FYI pastFirstParticipant // Take a look at the first record type int record_type = os.unpackInt(); if (record_type == RecordType.COMMITMARKABLERESOURCE) { // Its one we are interested in jndiName = os.unpackString(); xid = XidImple.unpack(os); hasCompleted = os.unpackBoolean(); if (hasCompleted) { wasCommitted = os.unpackBoolean(); } } }