Debian Codegraph @

lang/java/src/com/sleepycat/persist/evolve/EvolveInternal.java

raw
1 /*-
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright (c) 2002, 2013 Oracle and/or its affiliates. All rights reserved.
5 *
6 */
7
8 package com.sleepycat.persist.evolve;
9
10 /**
11 * Internal access class that should not be used by applications.
12 *
13 * @author Mark Hayes
14 */
15 public class EvolveInternal {
16
17 /**
18 * Internal access method that should not be used by applications.
19 */
20 public static EvolveEvent newEvent() {
21 return new EvolveEvent();
22 }
23
24 /**
25 * Internal access method that should not be used by applications.
26 */
27 public static void updateEvent(EvolveEvent event,
28 String entityClassName,
29 int nRead,
30 int nConverted) {
31 event.update(entityClassName);
32 event.getStats().add(nRead, nConverted);
33 }
34 }