01: /*
02: * All content copyright (c) 2003-2006 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: import com.tc.object.ObjectID;
09:
10: public class ManagedObjectFaultingContext implements EventContext {
11:
12: private final ObjectID id;
13: private final boolean isRemoveOnRelease;
14:
15: public ManagedObjectFaultingContext(ObjectID id,
16: boolean isRemoveOnRelease) {
17: this .id = id;
18: this .isRemoveOnRelease = isRemoveOnRelease;
19: }
20:
21: public ObjectID getId() {
22: return id;
23: }
24:
25: public boolean isRemoveOnRelease() {
26: return isRemoveOnRelease;
27: }
28:
29: }
|