public class GigaMapConfigurer extends Object
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
Constructor and Description |
---|
GigaMapConfigurer(IMap map) |
Modifier and Type | Method and Description |
---|---|
GigaMapConfigurer |
defaultIsolationLevel(int defaultIsolationLevel) |
GigaMapConfigurer |
defaultLockTimeToLive(long defaultLockTimeToLive) |
GigaMapConfigurer |
defaultTimeToLive(long defaultTimeToLive) |
GigaMapConfigurer |
defaultWaitingForLockTimeout(long defaultWaitingForLockTimeout) |
GigaMapConfigurer |
exTranslator(ExceptionTranslator exTranslator) |
GigaMap |
gigaMap()
Creates a new
GigaMap instance if non already created. |
GigaMapConfigurer |
setDefaultWaitForResponse(long defaultWaitForResponse) |
GigaMapConfigurer |
transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
GigaMapConfigurer |
txProvider(TransactionProvider txProvider) |
public GigaMapConfigurer(IMap map)
public GigaMapConfigurer txProvider(TransactionProvider txProvider)
public GigaMapConfigurer exTranslator(ExceptionTranslator exTranslator)
public GigaMapConfigurer setDefaultWaitForResponse(long defaultWaitForResponse)
public GigaMapConfigurer defaultTimeToLive(long defaultTimeToLive)
public GigaMapConfigurer defaultLockTimeToLive(long defaultLockTimeToLive)
public GigaMapConfigurer defaultWaitingForLockTimeout(long defaultWaitingForLockTimeout)
public GigaMapConfigurer defaultIsolationLevel(int defaultIsolationLevel)
public GigaMapConfigurer transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Copyright © GigaSpaces.