public static void write (final org.omg.CORBA.portable.OutputStream out, final TransactionType s) { out.write_long(s.value()); } }
public static TransactionType read (final org.omg.CORBA.portable.InputStream in) { return TransactionType.from_int(in.read_long()); }
public static void write (final org.omg.CORBA.portable.OutputStream out, final TransactionType s) { out.write_long(s.value()); } }
public static TransactionType read (final org.omg.CORBA.portable.InputStream in) { return TransactionType.from_int(in.read_long()); }
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.arjuna.ArjunaOTS.TransactionType value) { ostream.write_long (value.value ()); }
public static com.arjuna.ArjunaOTS.TransactionType read (org.omg.CORBA.portable.InputStream istream) { return com.arjuna.ArjunaOTS.TransactionType.from_int (istream.read_long ()); }
/** * Now methods to return the identities of the currently running * transactions, and those which have terminated but left entries in the * object store. * * WARNING: these methods should be used sparingly since they *must* lock * the transaction database while examining it, and this will prevent any * new transactions from being created/started. * * @param the * type of transaction (active, unresolved) to get data on. * @since JTS 2.1. */ public org.omg.CosTransactions.otid_t[] numberOfTransactions (com.arjuna.ArjunaOTS.TransactionType t) throws Inactive, NoTransaction, SystemException { switch (t.value()) { case com.arjuna.ArjunaOTS.TransactionType._TransactionTypeActive: return activeTransactions(); case com.arjuna.ArjunaOTS.TransactionType._TransactionTypeUnresolved: return unresolvedTransactions(); default: throw new BAD_OPERATION(); } }
/** * Now methods to return the identities of the currently running * transactions, and those which have terminated but left entries in the * object store. * * WARNING: these methods should be used sparingly since they *must* lock * the transaction database while examining it, and this will prevent any * new transactions from being created/started. * * @param the * type of transaction (active, unresolved) to get data on. * @since JTS 2.1. */ public org.omg.CosTransactions.otid_t[] numberOfTransactions (com.arjuna.ArjunaOTS.TransactionType t) throws Inactive, NoTransaction, SystemException { switch (t.value()) { case com.arjuna.ArjunaOTS.TransactionType._TransactionTypeActive: return activeTransactions(); case com.arjuna.ArjunaOTS.TransactionType._TransactionTypeUnresolved: return unresolvedTransactions(); default: throw new BAD_OPERATION(); } }