ContainX / openstack4j

A Fluent OpenStack SDK / Client Library for Java
http://openstack4j.com
Other
290 stars 368 forks source link

Using the Same Client Between Threads in openstack4j 3.x #726

Open Cookie-Wang opened 8 years ago

Cookie-Wang commented 8 years ago

how to use os client get access in openstack4j 3.x?

vinodborole commented 8 years ago

@Cookie-Wang As the authenticated object is represented by a Token in the identity v3 world you should be able to use the getToken()method the OSClientV3 offers

Cookie-Wang commented 8 years ago

@vinodborole hi: i want to use the same identity client between threads. is this ok?

vinodborole commented 8 years ago

I don't think there should be a problem as long as you are able to access them from threads

auhlig commented 8 years ago

@Cookie-Wang Please close if this issue is no longer valid. Thanks.