|
GigaSpaces XAP 9.7.2 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.destroy(); // 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. |
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 defaultWriteModifiers(WriteModifiers defaultWriteModifiers)
GigaSpaceFactoryBean.setDefaultWriteModifiers(com.gigaspaces.client.WriteModifiers[])
public GigaSpaceConfigurer defaultReadModifiers(ReadModifiers defaultReadModifiers)
GigaSpaceFactoryBean.setDefaultReadModifiers(com.gigaspaces.client.ReadModifiers[])
public GigaSpaceConfigurer defaultTakeModifiers(TakeModifiers defaultTakeModifiers)
GigaSpaceFactoryBean.setDefaultTakeModifiers(com.gigaspaces.client.TakeModifiers[])
public GigaSpaceConfigurer defaultCountModifiers(CountModifiers defaultCountModifiers)
GigaSpaceFactoryBean.setDefaultCountModifiers(com.gigaspaces.client.CountModifiers[])
public GigaSpaceConfigurer defaultClearModifiers(ClearModifiers defaultClearModifiers)
GigaSpaceFactoryBean.setDefaultClearModifiers(com.gigaspaces.client.ClearModifiers[])
public GigaSpaceConfigurer defaultChangeModifiers(ChangeModifiers defaultChangeModifiers)
GigaSpaceFactoryBean.setDefaultChangeModifiers(com.gigaspaces.client.ChangeModifiers[])
public GigaSpaceConfigurer transactionManager(PlatformTransactionManager transactionManager)
GigaSpaceFactoryBean.setTransactionManager(org.springframework.transaction.PlatformTransactionManager)
public GigaSpace create()
GigaSpace
instance if non already created.
public GigaSpace gigaSpace()
GigaSpace
instance if non already created.
create()
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |