Class PlatformDotNetCacheStoreFactory
- java.lang.Object
- 
- org.apache.ignite.platform.dotnet.PlatformDotNetCacheStoreFactory
 
- 
- All Implemented Interfaces:
- Serializable,- javax.cache.configuration.Factory<org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetCacheStore>
 
 public class PlatformDotNetCacheStoreFactory extends Object implements javax.cache.configuration.Factory<org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetCacheStore> Wrapper for .NET cache store implementations.This wrapper should be used if you have an implementation of GridGain.Cache.IGridCacheStoreinterface in .NET and would like to configure it a persistence storage for your cache. To do tis you will need to configure the wrapper viaCacheConfiguration.setCacheStoreFactory(javax.cache.configuration.Factory)property and provide assembly name and class name of your .NET store implementation (both properties are mandatory):<bean class="org.apache.ignite.cache.CacheConfiguration"> ... <property name="cacheStoreFactory"> <bean class="org.gridgain.grid.interop.dotnet.InteropDotNetCacheStoreFactory"> <property name="assemblyName" value="MyAssembly"/> <property name="className" value="MyApp.MyCacheStore"/> </bean> </property> ... </bean>If properly configured, this wrapper will instantiate an instance of your cache store in .NET and delegate all calls to that instance. To create an instance, assembly name and class name are passed to System.Activator.CreateInstance(String, String) method in .NET during node startup. Refer to its documentation for details.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description PlatformDotNetCacheStoreFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetCacheStorecreate()Map<String,?>getProperties()Get properties.StringgetTypeName()Gets .NET type name.voidsetProperties(Map<String,?> props)Set properties.voidsetTypeName(String typName)Sets .NET type name.
 
- 
- 
- 
Method Detail- 
getTypeNamepublic String getTypeName() Gets .NET type name.- Returns:
- .NET type name.
 
 - 
setTypeNamepublic void setTypeName(String typName) Sets .NET type name.- Parameters:
- typName- .NET type name.
 
 - 
setPropertiespublic void setProperties(Map<String,?> props) Set properties.- Parameters:
- props- Properties.
 
 - 
createpublic org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetCacheStore create() - Specified by:
- createin interface- javax.cache.configuration.Factory<org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetCacheStore>
 
 
- 
 
-