KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > context > ManagedObjectFaultingContext


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.objectserver.context;
5
6 import com.tc.async.api.EventContext;
7 import com.tc.object.ObjectID;
8
9 public class ManagedObjectFaultingContext implements EventContext {
10
11   private final ObjectID id;
12   private final boolean isRemoveOnRelease;
13   private final boolean missingOkay;
14
15   public ManagedObjectFaultingContext(ObjectID id, boolean isRemoveOnRelease, boolean missingOkay) {
16     this.id = id;
17     this.isRemoveOnRelease = isRemoveOnRelease;
18     this.missingOkay = missingOkay;
19   }
20
21   public ObjectID getId() {
22     return id;
23   }
24
25   public boolean isRemoveOnRelease() {
26     return isRemoveOnRelease;
27   }
28
29   public boolean isMissingOkay() {
30     return missingOkay;
31   }
32
33 }
34
Popular Tags