public class GigaSpaceConfigurer extends Object
GigaSpace
instance wrapping the
GigaSpaceFactoryBean
.
Usage example:
UrlSpaceConfigurer urlSpaceConfigurer = new UrlSpaceConfigurer("/./space").schema("persistent") .noWriteLeaseMode(true).lookupGroups(new String[] {"kimchy"}); GigaSpace gigaSpace = new GigaSpaceConfigurer(urlSpaceConfigurer).defaultTakeTimeout(1000).gigaSpace(); ... urlSpaceConfigurer.destroy(); // optional
Constructor and Description |
---|
GigaSpaceConfigurer(IJSpace space)
Constructs a new configurer based on the Space.
|
GigaSpaceConfigurer(SpaceConfigurer configurer)
Constructs a new configurer based on the Space.
|
public GigaSpaceConfigurer(IJSpace space)
public GigaSpaceConfigurer(SpaceConfigurer configurer)
public GigaSpaceConfigurer txProvider(TransactionProvider txProvider)
public GigaSpaceConfigurer exTranslator(ExceptionTranslator exTranslator)
public GigaSpaceConfigurer clustered(boolean clustered)
public GigaSpaceConfigurer defaultReadTimeout(long defaultReadTimeout)
public GigaSpaceConfigurer defaultTakeTimeout(long defaultTakeTimeout)
public GigaSpaceConfigurer defaultWriteLease(long defaultWriteLease)
public GigaSpaceConfigurer defaultIsolationLevel(int defaultIsolationLevel)
public GigaSpaceConfigurer defaultWriteModifiers(WriteModifiers defaultWriteModifiers)
public GigaSpaceConfigurer defaultReadModifiers(ReadModifiers defaultReadModifiers)
public GigaSpaceConfigurer defaultTakeModifiers(TakeModifiers defaultTakeModifiers)
public GigaSpaceConfigurer defaultCountModifiers(CountModifiers defaultCountModifiers)
public GigaSpaceConfigurer defaultClearModifiers(ClearModifiers defaultClearModifiers)
public GigaSpaceConfigurer defaultChangeModifiers(ChangeModifiers defaultChangeModifiers)
public GigaSpaceConfigurer transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Copyright © GigaSpaces.