Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FMWK-626 Remove the deprecated client constructor #25

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.aerospike.client.*;
import com.aerospike.client.async.AsyncIndexTask;
import com.aerospike.client.async.EventLoops;
import com.aerospike.client.cdt.CTX;
import com.aerospike.client.cluster.Node;
import com.aerospike.client.policy.*;
Expand Down Expand Up @@ -67,24 +66,12 @@ public class AerospikeReactorClient implements IAerospikeReactorClient{
private final IAerospikeClient aerospikeClient;

/**
* @param aerospikeClient the {@link com.aerospike.client.AerospikeClient} instance
* @param aerospikeClient the {@link com.aerospike.client.AerospikeClient} instance
*/
public AerospikeReactorClient(IAerospikeClient aerospikeClient) {
this.aerospikeClient = aerospikeClient;
}

/**
* @param aerospikeClient the {@link com.aerospike.client.AerospikeClient} instance
* @param eventLoops the asynchronous event loops
*
* @deprecated use the {@link #AerospikeReactorClient(IAerospikeClient)} constructor instead.
*/
@Deprecated
@SuppressWarnings("unused")
public AerospikeReactorClient(IAerospikeClient aerospikeClient, EventLoops eventLoops) {
this.aerospikeClient = aerospikeClient;
}

@Override
public void close(){
aerospikeClient.close();
Expand Down Expand Up @@ -413,6 +400,7 @@ public IAerospikeClient getAerospikeClient() {
return aerospikeClient;
}

@SuppressWarnings("java:S107")
private Mono<AsyncIndexTask> createIndexImpl(Policy policy,
String namespace, String setName, String indexName, String binName,
IndexType indexType, IndexCollectionType indexCollectionType, CTX... ctx){
Expand Down
Loading