Package org.multiverse.utils.clock

This package contains support for logical clocks (needed to prevent isolation problems).

See:
          Description

Interface Summary
PrimitiveClock A PrimitiveClock: a logical timer based on a primitive long.
 

Class Summary
RelaxedPrimitiveClock The RelaxedPrimitiveClock is less strict about increasing the clock.
SingleThreadedPrimitiveClock A PrimitiveClock implementation that can be used in a single thread environment.
StrictPrimitiveClock The intuitive implementation of a PrimitiveClock.
 

Package org.multiverse.utils.clock Description

This package contains support for logical clocks (needed to prevent isolation problems). At the moment the main clock is the PrimitiveClock, but in the future more advanced clocks like the vector clock will be provided. The former is very very fast, but it isn't going to scale because unrelated transactions need to share the same clock. That is where vector clocks come in. Although they are a lot slower, the shared clock isn't needed anymore. The addition of the vector clock will also be the first step to creating a distributed stm (a PrimitiveClock is not going to scale since the performance of a cluster is limited to the increase rate of the clock).



Copyright © 2008-2010 Multiverse. All Rights Reserved.