|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.jpa.ClientLoaderFactory
public class ClientLoaderFactory
A factory used for client loader purpose. It can be used to get an instance of
client loader and make a Session
object be able to drive transactions to a shard
in AvailabilityState.PRELOAD
state.
Constructor Summary | |
---|---|
ClientLoaderFactory()
|
Method Summary | |
---|---|
static ClientLoader |
getClientLoader()
Get an instance of ClientLoader which can be used to load the distributed ObjectGrid maps from an ObjectGrid client. |
static Session |
getClientLoaderSession(Session session)
A Session object directly retrieved from ObjectGrid can
not be used to drive transactions to a shard in
AvailabilityState.PRELOAD state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientLoaderFactory()
Method Detail |
---|
public static ClientLoader getClientLoader()
public static Session getClientLoaderSession(Session session)
Session
object directly retrieved from ObjectGrid
can
not be used to drive transactions to a shard in
AvailabilityState.PRELOAD
state.
This method makes a Session
object be able to drive transactions to a shard
in AvailabilityState.PRELOAD
state.
When this method is called, the session object can only used to drive transactions to a shard
in PRELOAD state. It cannot be used to drive transactions to a shard in
AvailabilityState.ONLINE
state. Instead, retrieve
a different session object.
session
- the Session object retrieved from ObjectGrid
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |