01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.objectserver.context;
06:
07: import com.tc.async.api.EventContext;
08:
09: import java.util.List;
10:
11: public class RecallObjectsContext implements EventContext {
12:
13: private final boolean all;
14: private final List recalledObjects;
15:
16: public RecallObjectsContext(List recalledObjects, boolean all) {
17: this .recalledObjects = recalledObjects;
18: this .all = all;
19: }
20:
21: public boolean recallAll() {
22: return all;
23: }
24:
25: public List getRecallList() {
26: return recalledObjects;
27: }
28:
29: }
|