Namespace Aws\DynamoDb\Session\LockingStrategy
Classes summary
AbstractLockingStrategy | Base class for session locking strategies. Includes write and delete logic |
LockingStrategyFactory | Factory for instantiating locking strategies |
NullLockingStrategy | The NULL locking strategy is the default strategy that does NOT do session locking. Session locking can cause extra latency and costs when retrying lock acquisitions. Thus, the null strategy is the most reasonable default. |
PessimisticLockingStrategy | This locking strategy uses pessimistic locking (similar to how the native PHP session handler works) to ensure that sessions are not edited while another process is reading/writing to it. Pessimistic locking can be expensive and can increase latencies, especially in cases where the user can access the session more than once at the same time (e.g. ajax, iframes, or multiple browser tabs) |
Interfaces summary
LockingStrategyFactoryInterface | Interface for locking strategy factories. Useful for those who are creating their own locking strategies. |
LockingStrategyInterface | An interface describing how a locking strategy should be defined |