Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Locking a file
William Barnes
Ranch Hand
Posts: 1067
2
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there a way of "locking" a file so that only one jvm can be reading/writting to it at a time?
Please ignore post, I have no idea what I am talking about.
William Barnes
Ranch Hand
Posts: 1067
2
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
java.neo FileChannel
that was a joke, ... I know it is nio, neo
Please ignore post, I have no idea what I am talking about.
Tony Morris
Ranch Hand
Posts: 1608
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
http://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/FileLock.html
Tony Morris
Java Q&A (FAQ, Trivia)
William Barnes
Ranch Hand
Posts: 1067
2
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Oops, forgot I can't use java.nio Any other suggestions?
Please ignore post, I have no idea what I am talking about.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
URLyBird: How to design network layer?
exclusive lock() yes or not?
Locking - Notification issues
NX:Some Questions(URLyBird1.3.2)
How do I get rid of Access.LOCKFILE.9 of MS Access
More...