Hi

My name is Kiran Singh and i am using jCloud openstacks-swift library to
connect with Swift server. I want to write a multi-threaded application.

For making connection to swift server i am using following code:

SwiftApi swiftApi = ContextBuilder.newBuilder(provider)
                .endpoint(endUrl)
                .credentials(identity, credential)
                .buildApi(SwiftApi.class);

My question is SwiftApi is thread safe?

Can i use Singleton object of swiftApi for each thread or do i need to
create swiftApi object for each thread?

Thanks in advance
Kiran Singh

Reply via email to