public class AbstractGemfireAdminOperations extends Object implements GemfireAdminOperations
AbstractGemfireAdminOperations
is an abstract base class encapsulating common functionality
supporting administrative (management) operations against a Pivotal GemFire or Apache Geode cluster.GemfireAdminOperations
,
SchemaObjectDefinition
Modifier and Type | Field and Description |
---|---|
protected static String |
NOT_IMPLEMENTED |
Constructor and Description |
---|
AbstractGemfireAdminOperations() |
Modifier and Type | Method and Description |
---|---|
void |
createDiskStore(SchemaObjectDefinition diskStoreDefinition)
Creates a
DiskStore based on the given schema object definition . |
void |
createIndex(IndexDefinition indexDefinition)
|
void |
createLuceneIndex(SchemaObjectDefinition luceneIndexDefinition)
|
void |
createRegion(RegionDefinition regionDefinition)
Creates a cache
Region based on the given schema object definition . |
Iterable<String> |
getAvailableServerRegionIndexes()
|
Iterable<String> |
getAvailableServerRegions()
Returns a
collection of Region names defined on the GemFire Servers in the cluster. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDiskStores, createDiskStores, createIndexes, createIndexes, createLuceneIndexes, createLuceneIndexes, createRegions, createRegions
protected static final String NOT_IMPLEMENTED
public Iterable<String> getAvailableServerRegions()
collection
of Region
names defined on the GemFire Servers in the cluster.getAvailableServerRegions
in interface GemfireAdminOperations
Iterable
of Region
names defined on the GemFire Servers in the cluster.Region.getName()
,
Iterable
public Iterable<String> getAvailableServerRegionIndexes()
getAvailableServerRegionIndexes
in interface GemfireAdminOperations
Iterable
of all the server Region
Indexes
.Index.getName()
,
Iterable
public void createRegion(RegionDefinition regionDefinition)
Region
based on the given schema object definition
.createRegion
in interface GemfireAdminOperations
regionDefinition
- RegionDefinition
encapsulating configuration meta-data defining
a cache Region
.RegionDefinition
,
GemFireCache
,
Region
public void createLuceneIndex(SchemaObjectDefinition luceneIndexDefinition)
createLuceneIndex
in interface GemfireAdminOperations
luceneIndexDefinition
- SchemaObjectDefinition
encapsulating the configuration meta-data
defining a Region
LuceneIndex
.SchemaObjectDefinition
,
LuceneIndex
,
Region
public void createIndex(IndexDefinition indexDefinition)
createIndex
in interface GemfireAdminOperations
indexDefinition
- IndexDefinition
encapsulating the configuration meta-data
defining a Region
OQL Index
.IndexDefinition
,
Index
,
Region
public void createDiskStore(SchemaObjectDefinition diskStoreDefinition)
DiskStore
based on the given schema object definition
.createDiskStore
in interface GemfireAdminOperations
diskStoreDefinition
- SchemaObjectDefinition
encapsulating the configuration meta-data
defining a DiskStore
.SchemaObjectDefinition
,
DiskStore
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.