com.atlassian.bamboo.v2.build.queue.queues
Class CommonContextMaps
java.lang.Object
com.atlassian.bamboo.v2.build.queue.queues.CommonContextMaps
public class CommonContextMaps
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrap
public static CommonContextMap wrap(Map<ResultKey,CommonContext> delegate)
- Adapts supplied map to a CommonContextMap interface.
offloadingMap
public static CommonContextMap offloadingMap(CommonContextPersister commonContextPersister,
Map<ResultKey,SoftReference<CommonContext>> delegate)
- The supplied commonContextPersister will be used to persist contexts stored in delegate. When SoftReferences in the supplied delegate map get gced,
the persister will be used to page them in from the persister.
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.