All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.javanut.pronghorn.pipe.stream.StreamingWriteVisitor Maven / Gradle / Ivy

Go to download

Ring buffer based queuing utility for applications that require high performance and/or a small footprint. Well suited for embedded and stream based processing.

There is a newer version: 1.1.27
Show newest version
package com.javanut.pronghorn.pipe.stream;

import java.nio.ByteBuffer;


public interface StreamingWriteVisitor {

	boolean paused();

	int pullMessageIdx();
	
	boolean isAbsent(String name, long id); //is field absent (eg null) may need one of these per type

	long pullSignedLong(String name, long id);
    long pullUnsignedLong(String name, long id);
    int pullSignedInt(String name, long id);
    int pullUnsignedInt(String name, long id);    
    long pullDecimalMantissa(String name, long id);
    int pullDecimalExponent(String name, long id);
    CharSequence pullASCII(String name, long id);
    CharSequence pullUTF8(String name, long id);
    ByteBuffer pullByteBuffer(String name, long id);
    int pullSequenceLength(String name, long id);
	
	void startup();

	void shutdown();

    void templateClose(String name, long id);
    void sequenceClose(String name, long id);
    void fragmentClose(String name, long id);
    void fragmentOpen(String string, long l);
	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy