Package gov.nasa.arc.mct.buffer.config

Examples of gov.nasa.arc.mct.buffer.config.FastDiskBufferEnv


    public static DataBuffer getFastDiskDataBuffer(Properties prop) {
        if (!fastDiskBufferInitializeToken.get()) {
            synchronized(DataBufferFactory.class) {
                if (fastDiskDataBuffer == null) {
                    fastDiskDataBuffer = new CODataBuffer(new FastDiskBufferEnv(prop), fastDiskBufferHelper);
                }
            }
            fastDiskBufferInitializeToken.compareAndSet(false, true);
        }
        return fastDiskDataBuffer;
View Full Code Here


            tf);

    private volatile boolean active;

    public PartitionFastDiskBuffer(int partitionNumber) {
        this(new FastDiskBufferEnv(null, partitionNumber));
    }
View Full Code Here

    }
   
    @Override
    public MetaDataBuffer newMetaDataBuffer(DataBufferEnv env) {
        if (env == null) {
            return new MetaDiskBuffer(new FastDiskBufferEnv(null));
        }
        assert env instanceof FastDiskBufferEnv;
        return new MetaDiskBuffer((FastDiskBufferEnv)env);
    }
View Full Code Here

        return new MetaDiskBuffer((FastDiskBufferEnv)env);
    }
   
    @Override
    public DataBufferEnv newMetaDataBufferEnv(Properties prop) {
        return new FastDiskBufferEnv(prop);
    }
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.buffer.config.FastDiskBufferEnv

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.