aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/main/java/com/yahoo/jdisc/SharedResource.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-03-06 09:48:54 +0100
committerJon Bratseth <bratseth@yahoo-inc.com>2017-03-06 09:48:54 +0100
commit9dd4c4880b42dd17c3bbaf1662eee9d8bbcad748 (patch)
treef9e8639fd015093c033c189bc00c94a2bac2087b /jdisc_core/src/main/java/com/yahoo/jdisc/SharedResource.java
parent351903b75e5cf8feaa6606c139ee56e1caeccd23 (diff)
Shutdown renderer threads on deconstruct
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/SharedResource.java')
-rw-r--r--jdisc_core/src/main/java/com/yahoo/jdisc/SharedResource.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/SharedResource.java b/jdisc_core/src/main/java/com/yahoo/jdisc/SharedResource.java
index 4552ba3fe3a..16af346c4f3 100644
--- a/jdisc_core/src/main/java/com/yahoo/jdisc/SharedResource.java
+++ b/jdisc_core/src/main/java/com/yahoo/jdisc/SharedResource.java
@@ -23,11 +23,12 @@ import com.yahoo.jdisc.service.ServerProvider;
* in terms of resource ownership. You retain a resource to prevent it from being destroyed while you are using it, and
* you release a resource once you are done using it.</p>
*
- * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
+ * @author Simon Thoresen
*/
public interface SharedResource {
- public static final String SYSTEM_PROPERTY_NAME_DEBUG = "jdisc.debug.resources";
- public static final boolean DEBUG = Boolean.valueOf(System.getProperty(SYSTEM_PROPERTY_NAME_DEBUG));
+
+ String SYSTEM_PROPERTY_NAME_DEBUG = "jdisc.debug.resources";
+ boolean DEBUG = Boolean.valueOf(System.getProperty(SYSTEM_PROPERTY_NAME_DEBUG));
/**
* <p>Increments the reference count of this resource. You call this method to prevent an object from being
@@ -51,4 +52,5 @@ public interface SharedResource {
* @see ResourceReference
*/
void release();
+
}