|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.beadsproject.beads.data.Sample.Regime
public static class Sample.Regime
Field Summary | |
---|---|
boolean |
storeInNativeBitDepth
Store the sample data in the native bit format. |
Method Summary | |
---|---|
static Sample.TimedRegime |
newStreamingRegime(long regionSize)
Stream the file from disk -- storing the data in the sample. |
static Sample.TimedRegime |
newStreamingRegimeWithAging(long regionSize,
long memory)
Like newStreamingRegime(long) but each buffered segment is discarded after a specified
amount of time. |
static Sample.TotalRegime |
newTotalRegime()
Loads the entire file at initialisation. |
static Sample.TotalRegime |
newTotalRegimeNative()
Loads the entire file and keeps it in its native bit depth. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean storeInNativeBitDepth
Method Detail |
---|
public static Sample.TotalRegime newTotalRegime()
public static Sample.TotalRegime newTotalRegimeNative()
public static Sample.TimedRegime newStreamingRegime(long regionSize)
regionSize
- Buffer size in ms. Generally should be a small fraction of the entire file.public static Sample.TimedRegime newStreamingRegimeWithAging(long regionSize, long memory)
newStreamingRegime(long)
but each buffered segment is discarded after a specified
amount of time. This is useful if the sample is very large to conserve memory.
regionSize
- Buffer size in ms. Generally should be a small fraction of the entire file.memory
- Amount of time (ms) that an untouched region is allowed to live for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |