org.datanucleus.store.types.queued
Class PutOperation

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

public class PutOperation
extends Object
implements QueuedOperation

Put operation for a map.


Constructor Summary
PutOperation(ObjectProvider op, MapStore store, Object key, Object value)
           
 
Method Summary
 Object getKey()
          Accessor for the key being put.
 ObjectProvider getObjectProvider()
          The object provider that this operation is performed on.
 Store getStore()
          The backing store that this queued operation relates to.
 Object getValue()
          Accessor for the value being put against this key.
 void perform()
          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(ObjectProvider op,
                    MapStore store,
                    Object key,
                    Object value)
Method Detail

getKey

public Object getKey()
Accessor for the key being put.

Returns:
Key being put

getValue

public Object getValue()
Accessor for the value being put against this key.

Returns:
Value being put against the key

perform

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

Specified by:
perform in interface QueuedOperation

getStore

public Store getStore()
Description copied from interface: QueuedOperation
The backing store that this queued operation relates to.

Specified by:
getStore in interface QueuedOperation
Returns:
The backing store

getObjectProvider

public ObjectProvider getObjectProvider()
Description copied from interface: QueuedOperation
The object provider that this operation is performed on.

Specified by:
getObjectProvider in interface QueuedOperation
Returns:
ObjectProvider


Copyright © 2013. All Rights Reserved.