1: <?php
2: namespace phpcassa\Schema;
3:
4: /**
5: * Replication strategies for keyspaces.
6: *
7: * @package phpcassa\Schema
8: */
9: class StrategyClass {
10:
11: /** Ignores node DCs and racks. */
12: const SIMPLE_STRATEGY = "SimpleStrategy";
13:
14: /** Allows a replication factor per-DC. */
15: const NETWORK_TOPOLOGY_STRATEGY = "NetworkTopologyStrategy";
16:
17: /** Only available for backwards-compatibility. */
18: const OLD_NETWORK_TOPOLOGY_STRATEGY = "OldNetworkTopologyStrategy";
19: }
20:
21: