Class JavaStorageMetaData
- java.lang.Object
-
- org.deeplearning4j.ui.model.storage.impl.JavaStorageMetaData
-
- All Implemented Interfaces:
Serializable,Persistable,StorageMetaData
public class JavaStorageMetaData extends Object implements StorageMetaData
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaStorageMetaData()JavaStorageMetaData(long timeStamp, String sessionID, String typeID, String workerID, Class<?> initType, Class<?> updateType)JavaStorageMetaData(long timeStamp, String sessionID, String typeID, String workerID, String initTypeClass, String updateTypeClass)JavaStorageMetaData(long timeStamp, String sessionID, String typeID, String workerID, String initTypeClass, String updateTypeClass, Serializable extraMetaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(byte[] decode)voiddecode(InputStream inputStream)voiddecode(ByteBuffer buffer)byte[]encode()voidencode(OutputStream outputStream)voidencode(ByteBuffer buffer)intencodingLengthBytes()SerializablegetExtraMetaData()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.deeplearning4j.core.storage.StorageMetaData
getInitTypeClass, getSessionID, getTimeStamp, getTypeID, getUpdateTypeClass, getWorkerID
-
-
-
-
Constructor Detail
-
JavaStorageMetaData
public JavaStorageMetaData()
-
JavaStorageMetaData
public JavaStorageMetaData(long timeStamp, String sessionID, String typeID, String workerID, Class<?> initType, Class<?> updateType)
-
JavaStorageMetaData
public JavaStorageMetaData(long timeStamp, String sessionID, String typeID, String workerID, String initTypeClass, String updateTypeClass)
-
-
Method Detail
-
encodingLengthBytes
public int encodingLengthBytes()
- Specified by:
encodingLengthBytesin interfacePersistable
-
encode
public byte[] encode()
- Specified by:
encodein interfacePersistable
-
encode
public void encode(ByteBuffer buffer)
- Specified by:
encodein interfacePersistable
-
encode
public void encode(OutputStream outputStream) throws IOException
- Specified by:
encodein interfacePersistable- Throws:
IOException
-
decode
public void decode(byte[] decode)
- Specified by:
decodein interfacePersistable
-
decode
public void decode(ByteBuffer buffer)
- Specified by:
decodein interfacePersistable
-
decode
public void decode(InputStream inputStream) throws IOException
- Specified by:
decodein interfacePersistable- Throws:
IOException
-
getExtraMetaData
public Serializable getExtraMetaData()
- Specified by:
getExtraMetaDatain interfaceStorageMetaData
-
-