<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?action=history&amp;feed=atom&amp;title=ThreadMap</id>
	<title>ThreadMap - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?action=history&amp;feed=atom&amp;title=ThreadMap"/>
	<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=ThreadMap&amp;action=history"/>
	<updated>2026-04-13T08:37:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>https://gvwiki.greenvulcano.com/gvwiki/index.php?title=ThreadMap&amp;diff=4363&amp;oldid=prev</id>
		<title>G.dimaio: Created page with &quot;Class FQN: '''it.greenvulcano.util.thread.ThreadMap''' This class contains static utility methods to attach/detach objects to current Thread context.  ==ThreadMap public static m...&quot;</title>
		<link rel="alternate" type="text/html" href="https://gvwiki.greenvulcano.com/gvwiki/index.php?title=ThreadMap&amp;diff=4363&amp;oldid=prev"/>
		<updated>2015-02-19T08:47:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Class FQN: &amp;#039;&amp;#039;&amp;#039;it.greenvulcano.util.thread.ThreadMap&amp;#039;&amp;#039;&amp;#039; This class contains static utility methods to attach/detach objects to current Thread context.  ==ThreadMap public static m...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Class FQN: '''it.greenvulcano.util.thread.ThreadMap'''&lt;br /&gt;
This class contains static utility methods to attach/detach objects to current Thread context.&lt;br /&gt;
&lt;br /&gt;
==ThreadMap public static methods==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java5&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * Retrieve the object associated to 'key' in the current Thread map&lt;br /&gt;
 *&lt;br /&gt;
 * @param key&lt;br /&gt;
 *        the key to search for&lt;br /&gt;
 * @return the found object, or null&lt;br /&gt;
 */&lt;br /&gt;
public static Object get(Object key)&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Retrieve the objects associated to 'key' in all Thread maps&lt;br /&gt;
 *&lt;br /&gt;
 * @param key&lt;br /&gt;
 *        the key to search for&lt;br /&gt;
 * @return the found objects, or an empty array&lt;br /&gt;
 */&lt;br /&gt;
public static Object[] allThreadGet(Object key)&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Insert the object 'value' associated to 'key' in the current Thread map&lt;br /&gt;
 *&lt;br /&gt;
 * @param key&lt;br /&gt;
 *        the key to use for mapping&lt;br /&gt;
 * @param value&lt;br /&gt;
 *        the value to insert&lt;br /&gt;
 */&lt;br /&gt;
public static void put(Object key, Object value)&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Insert the object 'value' associated to 'key' in all Thread maps&lt;br /&gt;
 *&lt;br /&gt;
 * @param key&lt;br /&gt;
 *        the key to use for mapping&lt;br /&gt;
 * @param value&lt;br /&gt;
 *        the value to insert&lt;br /&gt;
 */&lt;br /&gt;
public static void allThreadPut(Object key, Object value)&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Remove the object associated to 'key' in the current Thread map&lt;br /&gt;
 *&lt;br /&gt;
 * @param key&lt;br /&gt;
 *        the key to search for&lt;br /&gt;
 * @return the found object, or null&lt;br /&gt;
 */&lt;br /&gt;
public static Object remove(Object key)&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Remove the objects associated to 'key' in all Thread maps&lt;br /&gt;
 *&lt;br /&gt;
 * @param key&lt;br /&gt;
 *        the key to search for&lt;br /&gt;
 */&lt;br /&gt;
public static void allThreadRemove(Object key)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ThreadMap RESERVED public static methods==&lt;br /&gt;
&amp;lt;p style=&amp;quot;color: red&amp;quot;&amp;gt;The following methods MUST be used only in Core development.&amp;lt;br/&amp;gt;&lt;br /&gt;
Using them with caution.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java5&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * Clean the current Thread map&lt;br /&gt;
 */&lt;br /&gt;
public static void clean()&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Clean all Thread maps&lt;br /&gt;
 */&lt;br /&gt;
public static void cleanAll()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>G.dimaio</name></author>
		
	</entry>
</feed>