| Author |
Message |
|
|
Good. Thanks for answers.
Best Regards
|
 |
|
|
I forgot to ask one thing....
Are all serializable objects being held in memory during the working with Space4j???? I mean, let's suppose that I've added 1K of objects into space4j...My question is, are all of these objects in memory? Or does it mean that half of these objects (the most used) is in memory and the second half is saved on HD???
Thanks!
|
 |
|
|
Hi guys,
first off all, thank you for this interesting tool. I was looking for the component which would allow me to serialize a big amount of objects. Space4j looks very appropriate for this request, most off all because of the index support. I just have a few questions...
1) All objects all serialized in the "./space4_db" directory. Is somehow possible to set the directory and file where the objects will be serialized?
2) I want to use REGULAR index (unique-index, non-sorted), but I didn't find an example of how to get my stored value....Of course I checked an example on this forum
User u = usersById.get(2345);
but I don't understand one thing, what type of the object is usersById???? Can you provide full example where REGULAR index is used.
thank you
|
 |
|
|