|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.taskworker.io.IODataObject
public abstract class IODataObject
common base class of input/output wrappers. Apart from containing the defining BulkInfo object and providing
access to the bulk store, it does some basic IO duration measuring.
| Field Summary | |
|---|---|
protected ObjectStoreService |
_objectStore
reference of objectstore service. |
| Constructor Summary | |
|---|---|
IODataObject(BulkInfo dataObject,
ObjectStoreService objectStore)
create instance. |
|
| Method Summary | |
|---|---|
protected void |
ensureStore()
open store, retry on IOErrors. |
java.util.Map<java.lang.String,java.lang.Number> |
getCounter()
create basic counter map. |
BulkInfo |
getDataObject()
|
long |
getDurationOpen()
|
long |
getDurationPerform()
|
java.lang.String |
getObjectName()
|
ObjectStoreService |
getObjectStore()
|
java.lang.String |
getStoreName()
|
protected long |
startTime()
|
protected void |
timeOpen(long startTime)
measure time for opening data object. |
protected void |
timePerform(long startTime)
measure time for performing IO on data object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ObjectStoreService _objectStore
| Constructor Detail |
|---|
public IODataObject(BulkInfo dataObject,
ObjectStoreService objectStore)
| Method Detail |
|---|
public BulkInfo getDataObject()
public java.lang.String getStoreName()
public java.lang.String getObjectName()
public ObjectStoreService getObjectStore()
protected void ensureStore()
throws ObjectStoreException
ObjectStoreExceptionpublic java.util.Map<java.lang.String,java.lang.Number> getCounter()
public long getDurationOpen()
public long getDurationPerform()
protected long startTime()
protected void timeOpen(long startTime)
protected void timePerform(long startTime)
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||