<s>[INST] start a transaction in an agency database . no checking is done to ensure the agency exists ; if it does not you will get a hopefully empty db , unless you 've done the same thing previously . concode_field_sep DB tx concode_elem_sep TxMaker globalTxMaker concode_elem_sep Map<String,TxMaker> agencyTxMakers concode_elem_sep File dataDirectory concode_elem_sep boolean closed concode_field_sep void rollback concode_elem_sep List<Stop> restore concode_elem_sep NavigableSet<T> getSet concode_elem_sep DB getSnapshotDb concode_elem_sep Snapshot takeSnapshot concode_elem_sep boolean agencyExists concode_elem_sep void commit concode_elem_sep GlobalTx getGlobalTx concode_elem_sep DB getRawAgencyTx concode_elem_sep BTreeMap<T1,T2> getMap concode_elem_sep File getSnapshotDir concode_elem_sep void finalize concode_elem_sep void rollbackIfOpen [/INST] AgencyTx function ( String arg0 ) { return new AgencyTx ( getRawAgencyTx ( arg0 ) ) ; </s>