本文整理汇总了Java中org.infinispan.configuration.cache.SingletonStoreConfiguration类的典型用法代码示例。如果您正苦于以下问题:Java SingletonStoreConfiguration类的具体用法?Java SingletonStoreConfiguration怎么用?Java SingletonStoreConfiguration使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SingletonStoreConfiguration类属于org.infinispan.configuration.cache包,在下文中一共展示了SingletonStoreConfiguration类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: CloudStoreConfiguration
import org.infinispan.configuration.cache.SingletonStoreConfiguration; //导入依赖的package包/类
public CloudStoreConfiguration(boolean purgeOnStartup, boolean fetchPersistentState, boolean ignoreModifications,
AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore, boolean preload, boolean shared,
Properties properties, String provider, String location, String identity, String credential, String container,
String endpoint, String key2StringMapper, boolean compress, Properties overrides, boolean normalizeCacheNames) {
super(purgeOnStartup, fetchPersistentState, ignoreModifications, async, singletonStore, preload, shared,
properties);
this.provider = provider;
this.location = location;
this.identity = identity;
this.credential = credential;
this.container = container;
this.endpoint = endpoint;
this.key2StringMapper = key2StringMapper;
this.compress = compress;
this.overrides = overrides;
this.normalizeCacheNames = normalizeCacheNames;
}
开发者ID:infinispan,项目名称:infinispan-cachestore-cloud,代码行数:18,代码来源:CloudStoreConfiguration.java
示例2: CassandraStoreConfiguration
import org.infinispan.configuration.cache.SingletonStoreConfiguration; //导入依赖的package包/类
public CassandraStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore,
CassandraStoreConnectionPoolConfiguration connectionPool) {
super(attributes, async, singletonStore);
autoCreateKeyspace = attributes.attribute(AUTO_CREATE_KEYSPACE);
entryTable = attributes.attribute(ENTRY_TABLE);
keyspace = attributes.attribute(KEYSPACE);
readConsistencyLevel = attributes.attribute(READ_CONSISTENCY_LEVEL);
readSerialConsistencyLevel = attributes.attribute(READ_SERIAL_CONSISTENCY_LEVEL);
writeConsistencyLevel = attributes.attribute(WRITE_CONSISTENCY_LEVEL);
writeSerialConsistencyLevel = attributes.attribute(WRITE_SERIAL_CONSISTENCY_LEVEL);
replicationStrategy = attributes.attribute(REPLICATION_STRATEGY);
compression = attributes.attribute(COMPRESSION);
useSsl = attributes.attribute(USE_SSL);
username = attributes.attribute(USERNAME);
password = attributes.attribute(PASSWORD);
servers = attributes.attribute(SERVERS);
this.connectionPool = connectionPool;
}
开发者ID:infinispan,项目名称:infinispan-cachestore-cassandra,代码行数:19,代码来源:CassandraStoreConfiguration.java
示例3: HBaseCacheStoreConfiguration
import org.infinispan.configuration.cache.SingletonStoreConfiguration; //导入依赖的package包/类
public HBaseCacheStoreConfiguration(boolean autoCreateTable, String entryColumnFamily, String entryTable, String entryValueField, String expirationColumnFamily,
String expirationTable, String expirationValueField, String hbaseZookeeperQuorumHost, int hbaseZookeeperClientPort, String keyMapper, boolean sharedTable,
boolean purgeOnStartup, boolean purgeSynchronously, int purgerThreads, boolean fetchPersistentState, boolean ignoreModifications, TypedProperties properties,
AsyncStoreConfiguration asyncStoreConfiguration, SingletonStoreConfiguration singletonStoreConfiguration) {
super(purgeOnStartup, purgeSynchronously, purgerThreads, fetchPersistentState, ignoreModifications, properties, asyncStoreConfiguration, singletonStoreConfiguration);
this.autoCreateTable = autoCreateTable;
this.entryColumnFamily = entryColumnFamily;
this.entryTable = entryTable;
this.entryValueField = entryValueField;
this.expirationColumnFamily = expirationColumnFamily;
this.expirationTable = expirationTable;
this.expirationValueField = expirationValueField;
this.hbaseZookeeperQuorumHost = hbaseZookeeperQuorumHost;
this.hbaseZookeeperClientPort = hbaseZookeeperClientPort;
this.keyMapper = keyMapper;
this.sharedTable = sharedTable;
}
开发者ID:infinispan,项目名称:infinispan-cachestore-hbase,代码行数:18,代码来源:HBaseCacheStoreConfiguration.java
示例4: LevelDBStoreConfiguration
import org.infinispan.configuration.cache.SingletonStoreConfiguration; //导入依赖的package包/类
public LevelDBStoreConfiguration(boolean purgeOnStartup, boolean fetchPersistentState, boolean ignoreModifications, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore, boolean preload, boolean shared, Properties properties, String location, String expiredLocation, ImplementationType implementationType, CompressionType compressionType, Integer blockSize, Long cacheSize, int expiryQueueSize, int clearThreshold) {
super(purgeOnStartup, fetchPersistentState, ignoreModifications, async, singletonStore, preload, shared, properties);
this.location = location;
this.expiredLocation = expiredLocation;
this.implementationType = implementationType;
this.compressionType = compressionType;
this.blockSize = blockSize;
this.cacheSize = cacheSize;
this.expiryQueueSize = expiryQueueSize;
this.clearThreshold = clearThreshold;
}
开发者ID:danberindei,项目名称:infinispan-cachestore-leveldb,代码行数:12,代码来源:LevelDBStoreConfiguration.java
示例5: MapDBStoreConfiguration
import org.infinispan.configuration.cache.SingletonStoreConfiguration; //导入依赖的package包/类
public MapDBStoreConfiguration(boolean purgeOnStartup, boolean fetchPersistentState, boolean ignoreModifications, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore, boolean preload, boolean shared, Properties properties,
String location, boolean compression, int expiryQueueSize) {
super(purgeOnStartup, fetchPersistentState, ignoreModifications, async, singletonStore, preload, shared, properties);
this.location = location;
this.compression = compression;
this.expiryQueueSize = expiryQueueSize;
}
开发者ID:saturnism,项目名称:infinispan-cachestore-mapdb,代码行数:8,代码来源:MapDBStoreConfiguration.java
示例6: MongoDBStoreConfiguration
import org.infinispan.configuration.cache.SingletonStoreConfiguration; //导入依赖的package包/类
public MongoDBStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async,
SingletonStoreConfiguration singletonStore, String connectionURI, String collection) {
super(attributes, async, singletonStore);
this.connectionURI = connectionURI;
this.collection = collection;
}
开发者ID:infinispan,项目名称:infinispan-cachestore-mongodb,代码行数:7,代码来源:MongoDBStoreConfiguration.java
示例7: OffheapStoreConfiguration
import org.infinispan.configuration.cache.SingletonStoreConfiguration; //导入依赖的package包/类
public OffheapStoreConfiguration(boolean purgeOnStartup, boolean fetchPersistentState, boolean ignoreModifications, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore, boolean preload, boolean shared, Properties properties,
boolean compression, int expiryQueueSize) {
super(purgeOnStartup, fetchPersistentState, ignoreModifications, async, singletonStore, preload, shared, properties);
this.compression = compression;
this.expiryQueueSize = expiryQueueSize;
}
开发者ID:saturnism,项目名称:infinispan-cachestore-offheap,代码行数:7,代码来源:OffheapStoreConfiguration.java
注:本文中的org.infinispan.configuration.cache.SingletonStoreConfiguration类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论