public class DiskStoreHelper extends Object
DiskStoreDescription. Methods are thread-safe.
DiskStores are lazily created by region creation methods in RegionHelper, so the disk store creation methods here need only be used
when RegionHelper is not being used to create regions.| Constructor and Description |
|---|
DiskStoreHelper() |
| Modifier and Type | Method and Description |
|---|---|
static com.gemstone.gemfire.cache.DiskStore |
createDiskStore(String diskStoreConfig)
Creates the disk store using the given disk store configuration.
|
static com.gemstone.gemfire.cache.DiskStore |
createDiskStore(String diskStoreName,
com.gemstone.gemfire.cache.DiskStoreFactory factory)
Creates the disk store with the given name.
|
static String |
diskStoreToString(com.gemstone.gemfire.cache.DiskStore diskStore)
Returns the given disk store as a string.
|
static com.gemstone.gemfire.cache.DiskStore |
getDiskStore(String diskStoreName) |
static DiskStoreDescription |
getDiskStoreDescription(String diskStoreConfig)
Returns the
DiskStoreDescription with the given configuration name
from DiskStorePrms.names. |
static com.gemstone.gemfire.cache.DiskStoreFactory |
getDiskStoreFactory(String diskStoreConfig)
Returns a disk store factory for the given disk store configuration from
DiskStorePrms.names, configured using the corresponding DiskStoreDescription. |
public static com.gemstone.gemfire.cache.DiskStore createDiskStore(String diskStoreConfig)
DiskStoreDescription corresponding
to the disk store configuration from DiskStorePrms.names. The
name of the disk store is the same as its configuration name.HydraRuntimeException - if an attempt is made to reconfigure an
existing disk store.public static com.gemstone.gemfire.cache.DiskStore createDiskStore(String diskStoreName, com.gemstone.gemfire.cache.DiskStoreFactory factory)
HydraRuntimeException - if an attempt is made to reconfigure an
existing disk store.public static com.gemstone.gemfire.cache.DiskStore getDiskStore(String diskStoreName)
public static String diskStoreToString(com.gemstone.gemfire.cache.DiskStore diskStore)
public static com.gemstone.gemfire.cache.DiskStoreFactory getDiskStoreFactory(String diskStoreConfig)
DiskStorePrms.names, configured using the corresponding DiskStoreDescription.public static DiskStoreDescription getDiskStoreDescription(String diskStoreConfig)
DiskStoreDescription with the given configuration name
from DiskStorePrms.names.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.