|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.core.GigaSpaceConfigurer
public class GigaSpaceConfigurer
A simple programmatic configurer for 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.destroySpace(); // optional
Constructor Summary | |
---|---|
GigaSpaceConfigurer(IJSpace space)
Constructs a new configurer based on the Space. |
|
GigaSpaceConfigurer(SpaceConfigurer configurer)
Constructs a new configurer based on the Space. |
Method Summary | |
---|---|
GigaSpaceConfigurer |
clustered(boolean clustered)
|
GigaSpaceConfigurer |
defaultIsolationLevel(int defaultIsolationLevel)
|
GigaSpaceConfigurer |
defaultReadTimeout(long defaultReadTimeout)
|
GigaSpaceConfigurer |
defaultTakeTimeout(long defaultTakeTimeout)
|
GigaSpaceConfigurer |
defaultWriteLease(long defaultWriteLease)
|
GigaSpaceConfigurer |
exTranslator(ExceptionTranslator exTranslator)
|
GigaSpace |
gigaSpace()
Creates a new GigaSpace instance if non already created. |
GigaSpaceConfigurer |
transactionManager(PlatformTransactionManager transactionManager)
|
GigaSpaceConfigurer |
txProvider(TransactionProvider txProvider)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GigaSpaceConfigurer(IJSpace space)
public GigaSpaceConfigurer(SpaceConfigurer configurer)
Method Detail |
---|
public GigaSpaceConfigurer txProvider(TransactionProvider txProvider)
GigaSpaceFactoryBean.setTxProvider(org.openspaces.core.transaction.TransactionProvider)
public GigaSpaceConfigurer exTranslator(ExceptionTranslator exTranslator)
GigaSpaceFactoryBean.setExTranslator(org.openspaces.core.exception.ExceptionTranslator)
public GigaSpaceConfigurer clustered(boolean clustered)
GigaSpaceFactoryBean.setClustered(boolean)
public GigaSpaceConfigurer defaultReadTimeout(long defaultReadTimeout)
GigaSpaceFactoryBean.setDefaultReadTimeout(long)
public GigaSpaceConfigurer defaultTakeTimeout(long defaultTakeTimeout)
GigaSpaceFactoryBean.setDefaultTakeTimeout(long)
public GigaSpaceConfigurer defaultWriteLease(long defaultWriteLease)
GigaSpaceFactoryBean.setDefaultWriteLease(long)
public GigaSpaceConfigurer defaultIsolationLevel(int defaultIsolationLevel)
GigaSpaceFactoryBean.setDefaultIsolationLevel(int)
public GigaSpaceConfigurer transactionManager(PlatformTransactionManager transactionManager)
GigaSpaceFactoryBean.setTransactionManager(org.springframework.transaction.PlatformTransactionManager)
public GigaSpace gigaSpace()
GigaSpace
instance if non already created.
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |