01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.jdo;
12:
13: /**
14: * An OID, collection of OIDs or class has been evicted from the PMF wide cache.
15: */
16: public class PmfEvictEvent extends ServerLogEvent {
17:
18: public PmfEvictEvent(Object oid) {
19: super (PMF_EVICT, oid.toString());
20: }
21:
22: public PmfEvictEvent(Object[] oids) {
23: super (PMF_EVICT, oids.length + " OIDs");
24: }
25:
26: public PmfEvictEvent(Class cls, boolean includeSubclasses) {
27: super (PMF_EVICT, cls.getName() + " includeSubclasses "
28: + includeSubclasses);
29: }
30:
31: public PmfEvictEvent() {
32: super (PMF_EVICT, "<all>");
33: }
34:
35: }
|