Questions tagged [javolution]

Javolution is a hard-real-time collections library.

Javolution is a hard-real-time collections library that provides a compatible replacement to the Standard Java Collections libraries.

27 questions
3
votes
1 answer

Queue implementation in javolution

Can anybody let me know is there any Queue implementation in javolution to use? I have seen FastList, FastMap, FastTable, but I couldn't find one specific to Queue. Any other suggestion to have a fast queue usage please? Thanks in advance!
Sudarsan
  • 107
  • 10
3
votes
3 answers

XML API for best performance

I have an application that works with a lot of XML data. So, I want to ask you which is the best API to handle XML in java. Today, I'm using W3 and, for performance, I want to migrate to some API. I make XML from 0, a lot of transforms, import into…
jotapdiez
  • 1,456
  • 13
  • 28
3
votes
1 answer

Is fastlist missing in javolution 6.0.0

Possibly daft question but is FastList missing from javolution 6.0.0, or am I doing something dumb? Example code import javolution.util.*; public class Test { FastList test; FastMap test2; } FastMap resolves and…
roccap
  • 113
  • 5
3
votes
1 answer

Using BTrace to find when a class is created for the first time

I'm trying to use BTrace to find when a certain type is first instantiated in my program (Eclipse debugger isn't able to find it) as I'm seeing some strange behaviour (the Javolution XMLStreamWriterImpl is somehow adding elements to my XML before it…
MeanwhileInHell
  • 6,780
  • 17
  • 57
  • 106
2
votes
4 answers

Need an efficient Map or Set that does NOT produce any garbage when adding and removing

So because Javolution does not work (see here) I am in deep need of a Java Map implementation that is efficient and produces no garbage under simple usage. java.util.Map will produce garbage as you add and remove keys. I checked Trove and Guava but…
JohnPristine
  • 3,485
  • 5
  • 30
  • 49
2
votes
1 answer

Javolution: Removing while iterating through a FastSet

In the docs it says to iterator a FastSet you can do: for (FastSet.Record r = set.head(), end = set.tail(); (r = r.getNext()) != end;) { Object value = set.valueOf(r); } Question is: How to remove while iterating?
chrisapotek
  • 6,007
  • 14
  • 51
  • 85
2
votes
1 answer

Javolution - reading variable-length string

How to read variable length String from a C struct using Javolution API? For example the code below is used to get a fixed size String- public final UTF8String data= new UTF8String(100); Can anyone give me an example for reading variable length…
Susmitha Pandi
  • 155
  • 1
  • 3
  • 11
1
vote
3 answers

Javolution ByteBuffer question

I have the following implementation with Javolution: public class RunScan extends Struct { public final Signed32 numOfClusters = new Signed32(); public final ClusterData[] clusters; public final Signed32 numOfRecons = new Signed32(); …
5YrsLaterDBA
  • 33,370
  • 43
  • 136
  • 210
1
vote
1 answer

Java: Javolution: How to use UTF8ByteBufferWriter and MappedByteBuffer?

To Anybody that uses the javolution, please guide me on how to use it. Any snippet code helps me a lot. here's my current code: public static void mergeAllFilesJavolution2()throws FileNotFoundException, IOException { String fileDir =…
eros
  • 4,946
  • 18
  • 53
  • 78
1
vote
1 answer

javolution support unsigned64 or not?

Anybody knows if Javolution support unsigned64 or not? I cannot find similar type defined in its API. My co-worker start use Javolution hoping it will help us to mapping Java types with C++ types in our socket communication. I don't know is there…
5YrsLaterDBA
  • 33,370
  • 43
  • 136
  • 210
1
vote
1 answer

Can a servlet truly access jars in Tomcat's lib dir?

Background first: Tomcat 6.0 on WindowsXP & OpenSUSE SLED 11.0 (same results on both platforms) Oracle JDK v6 Spring 3.0 Javolution 5.5.1 I've got a strange problem with a jar (javolution-5.5.1.jar) that my app is using. I've had this jar in…
Gordon
  • 1,210
  • 5
  • 16
  • 23
1
vote
1 answer

Javolution Struct optimizations/config tuning tips?

I'm using a Javolution Struct class for the events in a Disruptor ring buffer - it seemed the easiest way of making my messages more cache friendly. I have no previous experience with Javolution, though, and have found very little material regarding…
Alex Averbuch
  • 3,245
  • 5
  • 33
  • 44
1
vote
0 answers

Javolution - How do I filter a FastTable using Predicate?

I am trying to obtain a filtered subset of a Javolution FastTable, using a Predicate. When running my code, execution never gets past this line: FastTable chunksToRender = (FastTable…
MukRaker
  • 49
  • 12
1
vote
0 answers

javolution xml modification

I tryed to modify an attribute value in created xml file. I have to use javolution api to manage XML files. I create an XML file using XMLStreamWriter, I add several components at the begining of my tool execution, but i want to modify some values…
1
vote
0 answers

Javolution string UDP

I'm new to Javolution and C/C++ . But I really like it so far and I think makes the code much cleaner. I have been playing with the UDP example that can be found here http://javolution.org/target/site/apidocs/javolution/io/Struct.html It is working…
1
2