Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionCallContext.java @ 330:3168af23aec5
Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
artifacts/trunk@2666 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 07 Sep 2011 13:51:02 +0000 |
parents | a8a06bbe306c |
children | 089c6f7794b5 |
comparison
equal
deleted
inserted
replaced
329:666417d5781c | 330:3168af23aec5 |
---|---|
49 public void afterBackground(int action) { | 49 public void afterBackground(int action) { |
50 log.debug("CollectionCallContext.afterBackground - NOT IMPLEMENTED"); | 50 log.debug("CollectionCallContext.afterBackground - NOT IMPLEMENTED"); |
51 } | 51 } |
52 | 52 |
53 | 53 |
54 public boolean isInBackground() { | |
55 log.debug("CollectionCallContext.isInBackground - NOT IMPLEMENTED"); | |
56 return false; | |
57 } | |
58 | |
59 | |
54 public Long getTimeToLive() { | 60 public Long getTimeToLive() { |
55 log.debug("CollectionCallContext.getTimeToLive - NOT IMPLEMENTED"); | 61 log.debug("CollectionCallContext.getTimeToLive - NOT IMPLEMENTED"); |
56 return null; | 62 return null; |
57 } | 63 } |
58 } | 64 } |