public static class SqliteJobQueue.JavaSerializer extends java.lang.Object implements SqliteJobQueue.JobSerializer
| Constructor and Description |
|---|
JavaSerializer() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Job> |
deserialize(byte[] bytes) |
byte[] |
serialize(java.lang.Object object) |
public byte[] serialize(java.lang.Object object)
throws java.io.IOException
serialize in interface SqliteJobQueue.JobSerializerjava.io.IOExceptionpublic <T extends Job> T deserialize(byte[] bytes) throws java.io.IOException, java.lang.ClassNotFoundException
deserialize in interface SqliteJobQueue.JobSerializerjava.io.IOExceptionjava.lang.ClassNotFoundException