org.plasma.sdo.core
Class SnapshotMap

java.lang.Object
  extended by org.plasma.sdo.core.SnapshotMap
All Implemented Interfaces:
Serializable

public class SnapshotMap
extends Object
implements Serializable

Holds internally managed concurrency property values and data store generated keys, for return back to clients, resulting from insert, update or delete operations, in association with a single time stamp value. The time stamp holds the time value used for all relevant concurrency operations, e.g. last-modified optimistic concurrency dates or time stamps.

See Also:
Serialized Form

Constructor Summary
SnapshotMap(Timestamp snapshotDate)
           
 
Method Summary
 List<PropertyPair> get(UUID key)
           
 PropertyPair get(UUID key, Property prop)
           
 UUID[] getKeys()
           
 Timestamp getSnapshotDate()
           
 void put(UUID key, PropertyPair value)
           
 List<PropertyPair> remove(UUID key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotMap

public SnapshotMap(Timestamp snapshotDate)
Method Detail

getSnapshotDate

public Timestamp getSnapshotDate()

getKeys

public UUID[] getKeys()

put

public void put(UUID key,
                PropertyPair value)

get

public List<PropertyPair> get(UUID key)

get

public PropertyPair get(UUID key,
                        Property prop)

remove

public List<PropertyPair> remove(UUID key)


Copyright © 2014. All rights reserved.