Package org.openspaces.core
Class GigaMapConfigurer
java.lang.Object
org.openspaces.core.GigaMapConfigurer
A simple programmatic configurer for
GigaMap instance wrapping the GigaMapFactoryBean.
Usage example:
UrlSpaceConfigurer urlSpaceConfigurer = new UrlSpaceConfigurer("/./space").schema("persistent")
.noWriteLeaseMode(true).lookupGroups(new String[] {"kimchy"});
IJSpace space = urlSpaceConfigurer.space();
IMap map = new MapConfigurer(space).localCachePutFirst(true).map();
GigaMap gigaMap = new GigaMapConfigurer(map).gigaMap();
...
urlSpaceConfigurer.destroySpace(); // optional
- Author:
- kimchy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultIsolationLevel(int defaultIsolationLevel) defaultLockTimeToLive(long defaultLockTimeToLive) defaultTimeToLive(long defaultTimeToLive) defaultWaitingForLockTimeout(long defaultWaitingForLockTimeout) exTranslator(ExceptionTranslator exTranslator) gigaMap()Creates a newGigaMapinstance if non already created.setDefaultWaitForResponse(long defaultWaitForResponse) transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) txProvider(TransactionProvider txProvider)
-
Constructor Details
-
GigaMapConfigurer
-
-
Method Details
-
txProvider
-
exTranslator
-
setDefaultWaitForResponse
-
defaultTimeToLive
-
defaultLockTimeToLive
-
defaultWaitingForLockTimeout
-
defaultIsolationLevel
-
transactionManager
public GigaMapConfigurer transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) -
gigaMap
Creates a newGigaMapinstance if non already created.
-