org.datanucleus.store.types.sco.queued
Class PutOperation

java.lang.Object
  extended by org.datanucleus.store.types.sco.queued.PutOperation
All Implemented Interfaces:
QueuedOperation<MapStore>

public class PutOperation
extends java.lang.Object
implements QueuedOperation<MapStore>

Put operation for a map.


Constructor Summary
PutOperation(java.lang.Object key, java.lang.Object value)
          Constructor.
 
Method Summary
 void perform(MapStore store, ObjectProvider sm)
          Perform the put(Object, Object) operation to the backing store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PutOperation

public PutOperation(java.lang.Object key,
                    java.lang.Object value)
Constructor.

Parameters:
key - The key to add
value - The value to add
Method Detail

perform

public void perform(MapStore store,
                    ObjectProvider sm)
Perform the put(Object, Object) operation to the backing store.

Specified by:
perform in interface QueuedOperation<MapStore>
Parameters:
store - The backing store to perform it on
sm - StateManager for the owner of the map


Copyright © 2011. All Rights Reserved.