package Ġcom . ly k ke . matching . engine . config . spring Ċ Ċ import Ġcom . ly k ke . matching . engine . database .* Ċ import Ġcom . ly k ke . matching . engine . database . azure . Azure Monitoring Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . azure . Azure Reserved Volumes Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . azure . Azure Settings Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . azure . Azure Settings History Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . common . Persistence ManagerFactory Ċ import Ġcom . ly k ke . matching . engine . database . file . File Order Book Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . file . File Processed Messages Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . file . File Stop Order Book Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . redis . accessor . impl . Redis Cash Operation Id Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . redis . accessor . impl . Redis Message SequenceNumber Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . redis . accessor . impl . Redis Processed Messages Database Accessor Ċ import Ġcom . ly k ke . matching . engine . database . redis . connection . Redis Connection Ċ import Ġcom . ly k ke . matching . engine . database . redis . di ctionaries . Grpc Di ctionaries Database Accessor Ċ import Ġcom . ly k ke . matching . engine . utils . config . Config Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . beans . factory . annotation . Value Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . context . annotation . Profile Ċ import Ġjava . util .* Ċ Ċ @ Configuration Ċ class ĠDatabase Accessor Config Ġ{ ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġconfig : ĠConfig ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġpersistence ManagerFactory : ĠPersistence ManagerFactory ĊĊĠĠĠ Ġ// < editor - fold Ġdesc =" Persistence Ġmanagers "> ĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġpersistence Manager ( persistence Redis Connection : ĠOptional < Redis Connection >): ĠPersistence Manager Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġpersistence ManagerFactory . get ( persistence Redis Connection ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġcash InOut Operation Pre processor Persistence Manager ( cash InOut Operation Pre processor Redis Connection : ĠOptional < Redis Connection >): ĠPersistence Manager Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġpersistence ManagerFactory . get ( cash InOut Operation Pre processor Redis Connection ) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġlimit Order Cancel Operation Pre processor Persistence Manager ( limit Order Cancel Operation Pre processor Redis Connection : ĠOptional < Redis Connection >): ĠPersistence Manager Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġpersistence ManagerFactory . get ( limit Order Cancel Operation Pre processor Redis Connection ) ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġcash Transfer Pre processor Persistence Manager ( cash Transfer Operations Pre processor Redis Connection : ĠOptional < Redis Connection >): ĠPersistence Manager Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġpersistence ManagerFactory . get ( cash Transfer Operations Pre processor Redis Connection ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġcash Swap Pre processor Persistence Manager ( cash Swap Operations Pre processor Redis Connection : ĠOptional < Redis Connection >): ĠPersistence Manager Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġpersistence ManagerFactory . get ( cash Swap Operations Pre processor Redis Connection ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġ// </ editor - fold > ĊĊĠĠĠ Ġ// < editor - fold Ġdesc =" Mult is ource Ġdatabase Ġaccessors "> ĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun ĠreadOnly Processed Messages Database Accessor ( redis Processed Messages Database Accessor : ĠOptional < Redis Processed Messages Database Accessor >): ĠReadOnly Processed Messages Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġredis Processed Messages Database Accessor . get () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġcash Operation Id Database Accessor ( redis Cash Operation Id Database Accessor : ĠOptional < Redis Cash Operation Id Database Accessor >): ĠCash Operation Id Database Accessor ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġredis Cash Operation Id Database Accessor . get () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġmessage SequenceNumber Database Accessor ( redis Message SequenceNumber Database Accessor : ĠOptional < Redis Message SequenceNumber Database Accessor >): ĠMessage SequenceNumber Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġredis Message SequenceNumber Database Accessor . get () ĊĠĠĠ Ġ} ĊĠĠĠ Ġ// </ editor - fold > ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġazure Reserved Volumes Database Accessor (@ Value ("\ ${ azure . reserved . volumes . table }") ĠtableName : ĠString ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠReserved Volumes Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠAzure Reserved Volumes Database Accessor ( config . matching Engine . db . reserved Volumes Conn String , ĠtableName ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġazure Settings Database Accessor (@ Value ("\ ${ azure . settings . database . accessor . table }") ĠtableName : ĠString ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠSettings Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠAzure Settings Database Accessor ( config . matching Engine . db . matching Engine Conn String , ĠtableName ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġsettings History Database Accessor (@ Value ("\ ${ azure . settings . history . database . accessor . table }") ĠtableName : ĠString ): ĠSettings History Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠAzure Settings History Database Accessor ( config . matching Engine . db . matching Engine Conn String , ĠtableName ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġ@ Profile (" default ") ĊĠĠĠ Ġfun Ġazure Monitoring Database Accessor ( ĊĠĠĠĠĠĠĠ Ġ@ Value ("\ ${ azure . monitoring . table }") Ġmonitoring Table : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Value ("\ ${ azure . performance . table }") Ġperformance Table : ĠString ĊĠĠĠ Ġ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠMonitoring Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠAzure Monitoring Database Accessor ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġconfig . matching Engine . db . monitoring Conn String , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmonitoring Table , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġperformance Table ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġgrpc Di ctionaries Database Accessor (): ĠDi ctionaries Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠGr pc Di ctionaries Database Accessor ( config . matching Engine . grpc Endpoints . di ctionaries Connection ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġ// </ editor - fold > ĊĊĠĠĠ Ġ// < editor - fold Ġdesc =" File Ġdb Ġaccessors "> ĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġfile Order Book Database Accessor () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠOrder Book Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠFile Order Book Database Accessor ( config . matching Engine . order Book Path ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġfile Processed Messages Database Accessor () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠFile Processed Messages Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠFile Processed Messages Database Accessor ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġconfig . matching Engine . processed Messages Path , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġconfig . matching Engine . processed Messages Interval ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġfile Stop Order Book Database Accessor (): ĠFile Stop Order Book Database Accessor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠFile Stop Order Book Database Accessor ( config . matching Engine . stop Order Book Path ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġ// </ editor - fold > Ċ }