KickJava   Java API By Example, From Geeks To Geeks.

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


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.objectserver.persistence.api.StringIndexPersistor;
7
8 import gnu.trove.TLongObjectHashMap;
9
10 public class NullStringIndexPersistor implements StringIndexPersistor {
11
12   public TLongObjectHashMap loadMappingsInto(TLongObjectHashMap target) {
13     return target;
14   }
15
16   public void saveMapping(long index, String JavaDoc string) {
17     return;
18   }
19
20 }
21
Popular Tags