01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.objectserver.persistence.api;
05:
06: import java.util.Map;
07:
08: public interface ClassPersistor {
09:
10: public void storeClass(int clazzId, byte clazzBytes[]);
11:
12: public byte[] retrieveClass(int clazzId);
13:
14: /**
15: * @return a map containing all the stored classes (Integer -> byte[])
16: */
17: public Map retrieveAllClasses();
18:
19: }
|