Name

LzLazyReplicationManager — An optimization for displaying large sets of data.

Synopsis

JavaScript: LzLazyReplicationManager
Type: Class
Access: public
Topic: LFC.Data
Declared in: WEB-INF/lps/lfc/data/LzLazyReplicationManager.lzs

Description

If a datapath's replication attribute is set to lazy, then a match to multiple nodes will create an LzLazyReplicationManager instead of an LzReplicationManager. The lazy replication manager creates only enough replicated views in order to display the data, so there is not a view for each data node. This enables the display of very large datasets.

See Lazy Replication in the Guide for examples of how to use lazy replication, and restrictions on its use.

Also see the paging.lzx example for an example of lazy replication.

In addition to any fields documented in the section below, these fields are also available: axis: The axis for layout of replicated views. spacing: The spacing between replicated views

Superclass Chain

node (LzNode) » datapointer (LzDatapointer) » datapath (LzDatapath) » LzReplicationManager » LzLazyReplicationManager

Known Subclasses

Known Direct Subclasses: LzResizeReplicationManager

Details

Constructor Arguments (3)

axis
pooling
spacing

Properties (5)

axis
public var axis = y;
The axis for layout of replicated views
mask
public var mask = null;
spacing
public var spacing = 0.0;
The spacing between replicated views
totalsize
public var totalsize = 0.0;
viewsize
public var viewsize = 0.0;

Methods (1)

getCloneNumber()
public function getCloneNumber(n : Number) : LzView;
Retuns a pointer to the nth clone controlled by the replication manager

Prototype Properties (1)

pooling
public var pooling = true;

JavaScript Synopsis

public LzLazyReplicationManager extends  LzReplicationManager  {
  public var axis  = y;
  public var mask  = null;
  public var spacing  = 0.0;
  public var totalsize  = 0.0;
  public var viewsize  = 0.0;
  prototype public function getCloneNumber (n : Number) : LzView;
  prototype public var pooling  = true;
}