com.hazelcast.concurrent.lock
Class LockEvictionProcessor

java.lang.Object
  extended by com.hazelcast.concurrent.lock.LockEvictionProcessor
All Implemented Interfaces:
ScheduledEntryProcessor<Data,Integer>

public final class LockEvictionProcessor
extends Object
implements ScheduledEntryProcessor<Data,Integer>


Constructor Summary
LockEvictionProcessor(NodeEngine nodeEngine, ObjectNamespace namespace)
           
 
Method Summary
 void process(EntryTaskScheduler<Data,Integer> scheduler, Collection<ScheduledEntry<Data,Integer>> entries)
          Processes all entries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockEvictionProcessor

public LockEvictionProcessor(NodeEngine nodeEngine,
                             ObjectNamespace namespace)
Method Detail

process

public void process(EntryTaskScheduler<Data,Integer> scheduler,
                    Collection<ScheduledEntry<Data,Integer>> entries)
Description copied from interface: ScheduledEntryProcessor
Processes all entries. Implementation has to handle the failures and can possibly reschedule for a future time. Imagine you are implementing this for dirty records: if mapStore.storeAll throws an exception, you might want to reschedule the failed records.

Specified by:
process in interface ScheduledEntryProcessor<Data,Integer>
Parameters:
scheduler - the EntryTskScheduler
entries - the entries (key and value) to process


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.