Class SparseVectorCommitTimeUpdater
- java.lang.Object
-
- com.activeviam.risk.ref.cfg.datastore.triggers.SparseVectorCommitTimeUpdater
-
public class SparseVectorCommitTimeUpdater extends Object
Listen for changes to a specified datastore and it's field. Once a commit has been performed then aReadOnlySparseVector
object is wrapped around the IVector. This step is necessary when usingReadOnlySparseVector
type for fields the default AP IVector that an array is wrapped around does not know how to properly decode the "crunched" down array implementation used in the sparse array.- Author:
- ActiveViam
-
-
Constructor Summary
Constructors Constructor Description SparseVectorCommitTimeUpdater(com.qfs.store.IDatastore datastoreArg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
register(String storeName, String field)
Listen for changes to the specified datastore and it's field.
-
-
-
Field Detail
-
LOGGER
protected static Logger LOGGER
-
-
Method Detail
-
register
public void register(String storeName, String field)
Listen for changes to the specified datastore and it's field. Once a commit has been performed then aReadOnlySparseVector
object is wrapped around the IVector.- Parameters:
storeName
- the store which we will listen tofield
- the field of the store we will listen to.
-
-