| Package | Description |
|---|---|
| com.sk89q.worldguard.protection.managers | |
| com.sk89q.worldguard.protection.managers.index |
| Constructor and Description |
|---|
RegionManager(RegionDatabase store,
com.google.common.base.Supplier<? extends ConcurrentRegionIndex> indexFactory)
Create a new index.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChunkHashTable
Maintains a hash table for each chunk containing a list of regions that
are contained within that chunk, allowing for fast spatial lookup.
|
class |
HashMapIndex
An index that stores regions in a hash map, which allows for fast lookup
by ID but O(n) performance for spatial queries.
|
class |
PriorityRTreeIndex
An implementation of an index that uses
HashMapIndex for queries
by region name and a priority R-tree for spatial queries. |
| Constructor and Description |
|---|
Factory(com.google.common.base.Supplier<? extends ConcurrentRegionIndex> supplier) |
Copyright © 2015. All Rights Reserved.