1919import com .aerospike .client .async .EventLoops ;
2020import com .aerospike .client .policy .ClientPolicy ;
2121import com .aerospike .client .reactor .AerospikeReactorClient ;
22+ import com .aerospike .client .reactor .IAerospikeReactorClient ;
2223import org .springframework .beans .factory .ObjectProvider ;
2324import org .springframework .context .annotation .Bean ;
2425import org .springframework .context .annotation .Configuration ;
@@ -49,14 +50,14 @@ public abstract class AbstractReactiveAerospikeDataConfiguration extends Aerospi
4950 public ReactiveAerospikeTemplate reactiveAerospikeTemplate (MappingAerospikeConverter mappingAerospikeConverter ,
5051 AerospikeMappingContext aerospikeMappingContext ,
5152 AerospikeExceptionTranslator aerospikeExceptionTranslator ,
52- AerospikeReactorClient aerospikeReactorClient ,
53+ IAerospikeReactorClient aerospikeReactorClient ,
5354 ReactorQueryEngine reactorQueryEngine , ReactorIndexRefresher reactorIndexRefresher ) {
5455 return new ReactiveAerospikeTemplate (aerospikeReactorClient , nameSpace (), mappingAerospikeConverter , aerospikeMappingContext ,
5556 aerospikeExceptionTranslator , reactorQueryEngine , reactorIndexRefresher );
5657 }
5758
5859 @ Bean (name = "reactiveAerospikeQueryEngine" )
59- public ReactorQueryEngine reactorQueryEngine (AerospikeReactorClient aerospikeReactorClient ,
60+ public ReactorQueryEngine reactorQueryEngine (IAerospikeReactorClient aerospikeReactorClient ,
6061 StatementBuilder statementBuilder ,
6162 FilterExpressionsBuilder filterExpressionsBuilder ) {
6263 ReactorQueryEngine queryEngine = new ReactorQueryEngine (aerospikeReactorClient , statementBuilder , filterExpressionsBuilder , aerospikeReactorClient .getQueryPolicyDefault ());
@@ -65,15 +66,15 @@ public ReactorQueryEngine reactorQueryEngine(AerospikeReactorClient aerospikeRea
6566 }
6667
6768 @ Bean (name = "reactiveAerospikeIndexRefresher" )
68- public ReactorIndexRefresher reactorIndexRefresher (AerospikeReactorClient aerospikeReactorClient , IndexesCacheUpdater indexesCacheUpdater ) {
69+ public ReactorIndexRefresher reactorIndexRefresher (IAerospikeReactorClient aerospikeReactorClient , IndexesCacheUpdater indexesCacheUpdater ) {
6970 ReactorIndexRefresher refresher = new ReactorIndexRefresher (aerospikeReactorClient , aerospikeReactorClient .getInfoPolicyDefault (),
7071 new InternalIndexOperations (new IndexInfoParser ()), indexesCacheUpdater );
7172 refresher .refreshIndexes ().block ();
7273 return refresher ;
7374 }
7475
7576 @ Bean (name = "aerospikeReactorClient" )
76- public AerospikeReactorClient aerospikeReactorClient (IAerospikeClient aerospikeClient ) {
77+ public IAerospikeReactorClient aerospikeReactorClient (IAerospikeClient aerospikeClient ) {
7778 return new AerospikeReactorClient (aerospikeClient );
7879 }
7980
0 commit comments