@Deprecated public class ArchiverHelper extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ArchiverHelper.DirectoryFileFilter |
Deprecated.
FileFilter implementation that only includes directories.
|
| Constructor | Description |
|---|---|
ArchiverHelper() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
allocateSnapshotPartitions(Map<Integer,Object[]> mapStores,
int cPartitions) |
Deprecated.
Given a
Map of member Id's and the stores each member can see
for a given snapshot, allocate the stores evenly as so to allow the
archival process to run in parallel across the greatest number of
members. |
static Set<Integer> |
getMembersOwningPartition(Map<Integer,Object[]> mapStores,
String sStore) |
Deprecated.
Return the
Set of members who are aware of a particular
store. |
public static void allocateSnapshotPartitions(Map<Integer,Object[]> mapStores, int cPartitions)
Map of member Id's and the stores each member can see
for a given snapshot, allocate the stores evenly as so to allow the
archival process to run in parallel across the greatest number of
members. Each member may see the same stores, as they may be on
shared disk or on the same machine.mapStores - a Map of members and Object[]s
that need sorting and allocatingcPartitions - the number of partitions