public class MorphiaProxySession extends ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>
| Constructor and Description |
|---|
MorphiaProxySession(String dataSourceType,
String sessionSourceKey,
DataStoreFactory dataStoreFactory,
boolean boundaryEnforced,
boolean cacheEnabled) |
| Modifier and Type | Method and Description |
|---|---|
MorphiaProxyTransaction |
beginTransaction() |
void |
clear() |
void |
close() |
MorphiaProxyTransaction |
currentTransaction() |
void |
flush() |
org.mongodb.morphia.Datastore |
getNativeSession() |
DataStoreFactory |
getNativeSessionFactory() |
boolean |
isClosed() |
getDataSourceType, getSessionSourceKey, isBoundaryEnforced, isCacheEnabled, overrideBoundaryEnforced, overrideCacheEnabled, registerpublic MorphiaProxySession(String dataSourceType, String sessionSourceKey, DataStoreFactory dataStoreFactory, boolean boundaryEnforced, boolean cacheEnabled)
public MorphiaProxyTransaction currentTransaction()
currentTransaction in class ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>public MorphiaProxyTransaction beginTransaction()
beginTransaction in class ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>public void flush()
flush in class ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>public void clear()
clear in class ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>public void close()
close in class ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>public boolean isClosed()
isClosed in class ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>public DataStoreFactory getNativeSessionFactory()
getNativeSessionFactory in class ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>public org.mongodb.morphia.Datastore getNativeSession()
getNativeSession in class ProxySession<DataStoreFactory,org.mongodb.morphia.Datastore>Copyright © 2020. All rights reserved.