CacheFactoryCreate Method (String, DistributedSystem, String) |
Creates a new cache using the specified system using parameters
from the given
XML file.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic static Cache Create(
string name,
DistributedSystem system,
string cacheXml
)
Public Shared Function Create (
name As String,
system As DistributedSystem,
cacheXml As String
) As Cache
public:
static Cache^ Create(
String^ name,
DistributedSystem^ system,
String^ cacheXml
)
static member Create :
name : string *
system : DistributedSystem *
cacheXml : string -> Cache
Parameters
- name
- Type: SystemString
the name to associate with the new cache - system
- Type: GemStone.GemFire.CacheDistributedSystem
a DistributedSystem obtained by calling
[!:DistributedSystem.Connect] - cacheXml
- Type: SystemString
name of the cache configuration XML file
Return Value
Type:
Cache
a
Cache that uses the specified
DistributedSystem
for distribution.
Exceptions
See Also