|
Openfire 3.6.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.util.cache.DummyExternalizableUtil
public class DummyExternalizableUtil
Dummy implementation that does nothing. The open source version of the server uses this strategy.
Constructor Summary | |
---|---|
DummyExternalizableUtil()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyExternalizableUtil()
Method Detail |
---|
public void writeStringMap(DataOutput out, Map<String,String> stringMap) throws IOException
writeStringMap
in interface ExternalizableUtilStrategy
out
- the output stream.stringMap
- the Map of String key/value pairs.
IOException
- if an error occurs.public Map<String,String> readStringMap(DataInput in) throws IOException
readStringMap
in interface ExternalizableUtilStrategy
in
- the input stream.
IOException
- if an error occurs.public void writeLongIntMap(DataOutput out, Map<Long,Integer> map) throws IOException
writeLongIntMap
in interface ExternalizableUtilStrategy
out
- the output stream.map
- the Map of Long key/Integer value pairs.
IOException
- if an error occurs.public Map readLongIntMap(DataInput in) throws IOException
readLongIntMap
in interface ExternalizableUtilStrategy
in
- the input stream.
IOException
- if an error occurs.public void writeStringList(DataOutput out, List stringList) throws IOException
writeStringList
in interface ExternalizableUtilStrategy
out
- the output stream.stringList
- the List of Strings.
IOException
- if an error occurs.public List<String> readStringList(DataInput in) throws IOException
readStringList
in interface ExternalizableUtilStrategy
in
- the input stream.
IOException
- if an error occurs.public void writeLongArray(DataOutput out, long[] array) throws IOException
writeLongArray
in interface ExternalizableUtilStrategy
out
- the output stream.array
- the array of long values.
IOException
- if an error occurs.public long[] readLongArray(DataInput in) throws IOException
readLongArray
in interface ExternalizableUtilStrategy
in
- the input stream.
IOException
- if an error occurs.public void writeLong(DataOutput out, long value)
writeLong
in interface ExternalizableUtilStrategy
public long readLong(DataInput in)
readLong
in interface ExternalizableUtilStrategy
public void writeBoolean(DataOutput out, boolean value)
writeBoolean
in interface ExternalizableUtilStrategy
public boolean readBoolean(DataInput in)
readBoolean
in interface ExternalizableUtilStrategy
public void writeByteArray(DataOutput out, byte[] value) throws IOException
writeByteArray
in interface ExternalizableUtilStrategy
IOException
public byte[] readByteArray(DataInput in) throws IOException
readByteArray
in interface ExternalizableUtilStrategy
IOException
public void writeSerializable(DataOutput out, Serializable value) throws IOException
writeSerializable
in interface ExternalizableUtilStrategy
IOException
public Serializable readSerializable(DataInput in) throws IOException
readSerializable
in interface ExternalizableUtilStrategy
IOException
public void writeSafeUTF(DataOutput out, String value)
writeSafeUTF
in interface ExternalizableUtilStrategy
public String readSafeUTF(DataInput in)
readSafeUTF
in interface ExternalizableUtilStrategy
public void writeExternalizableCollection(DataOutput out, Collection<? extends Externalizable> value) throws IOException
writeExternalizableCollection
in interface ExternalizableUtilStrategy
IOException
public int readExternalizableCollection(DataInput in, Collection<? extends Externalizable> value, ClassLoader loader) throws IOException
readExternalizableCollection
in interface ExternalizableUtilStrategy
IOException
public void writeExternalizableMap(DataOutput out, Map<String,? extends Externalizable> map) throws IOException
writeExternalizableMap
in interface ExternalizableUtilStrategy
IOException
public int readExternalizableMap(DataInput in, Map<String,? extends Externalizable> map, ClassLoader loader) throws IOException
readExternalizableMap
in interface ExternalizableUtilStrategy
IOException
public void writeStringsMap(DataOutput out, Map<String,Set<String>> map) throws IOException
writeStringsMap
in interface ExternalizableUtilStrategy
IOException
public int readStringsMap(DataInput in, Map<String,Set<String>> map) throws IOException
readStringsMap
in interface ExternalizableUtilStrategy
IOException
public void writeStrings(DataOutput out, Collection<String> collection) throws IOException
writeStrings
in interface ExternalizableUtilStrategy
IOException
public int readStrings(DataInput in, Collection<String> collection) throws IOException
readStrings
in interface ExternalizableUtilStrategy
IOException
public void writeInt(DataOutput out, int value)
writeInt
in interface ExternalizableUtilStrategy
public int readInt(DataInput in)
readInt
in interface ExternalizableUtilStrategy
|
Openfire 3.6.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |