org.datanucleus.store.types.queued
Class ClearCollectionOperation

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

public class ClearCollectionOperation
extends Object
implements QueuedOperation

Clear operation for a collection.


Constructor Summary
ClearCollectionOperation(ObjectProvider op, CollectionStore store)
           
 
Method Summary
 ObjectProvider getObjectProvider()
          The object provider that this operation is performed on.
 Store getStore()
          The backing store that this queued operation relates to.
 void perform()
          Perform the clear() operation on the specified backing store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearCollectionOperation

public ClearCollectionOperation(ObjectProvider op,
                                CollectionStore store)
Method Detail

perform

public void perform()
Perform the clear() operation on the specified 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.