KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > persistence > impl > InMemoryCollectionFactory


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.objectserver.persistence.impl;
5
6 import com.tc.object.ObjectID;
7 import com.tc.objectserver.persistence.api.PersistentCollectionFactory;
8
9 import gnu.trove.THashMap;
10
11 import java.util.Map JavaDoc;
12
13 public class InMemoryCollectionFactory implements PersistentCollectionFactory {
14
15   public Map createPersistentMap(ObjectID id) {
16     return new THashMap(0);
17   }
18
19 }
20
Popular Tags