KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > PmfEvictEvent


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.jdo;
13
14 /**
15  * An OID, collection of OIDs or class has been evicted from the PMF wide cache.
16  */

17 public class PmfEvictEvent extends ServerLogEvent {
18
19     public PmfEvictEvent(Object JavaDoc oid) {
20         super(PMF_EVICT, oid.toString());
21     }
22
23     public PmfEvictEvent(Object JavaDoc[] oids) {
24         super(PMF_EVICT, oids.length + " OIDs");
25     }
26
27     public PmfEvictEvent(Class JavaDoc cls, boolean includeSubclasses) {
28         super(PMF_EVICT, cls.getName() + " includeSubclasses " + includeSubclasses);
29     }
30
31     public PmfEvictEvent() {
32         super(PMF_EVICT, "<all>");
33     }
34
35 }
36
Popular Tags