01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.context;
05:
06: import com.tc.async.api.EventContext;
07:
08: public class PauseContext implements EventContext {
09:
10: public static final PauseContext PAUSE = new PauseContext(true);
11: public static final PauseContext UNPAUSE = new PauseContext(false);
12:
13: private final boolean isPause;
14:
15: private PauseContext(boolean isPause) {
16: this .isPause = isPause;
17: }
18:
19: public boolean getIsPause() {
20: return isPause;
21: }
22:
23: }
|