Top "Resource-management" questions

What Automatic Resource Management alternatives exist for Scala?

I have seen many examples of ARM (automatic resource management) on the web for Scala. It seems to be a …

scala resource-management
Handling IO exceptions in Java

Basically, I want to open a file, read some bytes, and then close the file. This is what I came …

java exception exception-handling io resource-management
Understanding the meaning of the term and the concept - RAII (Resource Acquisition is Initialization)

Could you C++ developers please give us a good description of what RAII is, why it is important, and whether …

c++ garbage-collection raii resource-management
Simple Scala pattern for "using/try-with-resources" (Automatic Resource Management)

C# has using with the IDisposable interface. Java 7+ has identical functionality with try and the AutoCloseable interface. Scala lets you …

scala resource-management
Are Locks AutoCloseable?

Are Locks auto-closeable? That is, instead of: Lock someLock = new ReentrantLock(); someLock.lock(); try { // ... } finally { someLock.unlock(); } ...can I say: …

java resources java-7 resource-management locks
HttpContext.GetGlobalResourceObject always returns null

I created two files in the App_GlobalResources folder: SiteResources.en-US.resx SiteResources.sp-SP.resx Both contain a value for "…

asp.net resources globalization resource-management resourcemanager