public abstract class Image<J,I,S> extends Object implements Serializable
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
checkCurrent(J context,
I format)
Checks whether the image is current and updates it if necessary.
|
long |
getCreationTimestamp()
Retrieves the timestamp for when the image was created.
|
String |
getImageIdString()
Gets the image ID string.
|
List<S> |
getSplits()
Gets the splits.
|
abstract void |
initializeImageIDString(J context,
I format)
Computes the image ID string each time the image is constructed or retrieved.
|
public abstract boolean checkCurrent(J context, I format) throws com.scaleoutsoftware.soss.client.da.StateServerException, IOException, InterruptedException
true
if the image is current
and ready to be used, or false
if a new image should be created to overwrite this one.context
- job contextformat
- input formattrue
if the image is currentcom.scaleoutsoftware.soss.client.da.StateServerException
- If there was a communication error between the JVM and ScaleOut StateServer (or if ScaleOut StateServer experienced an internal error)IOException
- If there was an error while communicating with ScaleOut StateServerInterruptedException
- If there was a class path issuepublic abstract void initializeImageIDString(J context, I format)
context
- job contextformat
- input formatpublic String getImageIdString()
public long getCreationTimestamp()
Copyright (C) 2007-2014 ScaleOut Software, Inc.