/** * * Destroy static thread local storage. * Call ONLY on shutdown. */ public static void releaseThreadLocalObjects() { clearThreadLocalObjects(); contexts = null; marshallers = null; }
/** * * Destroy static thread local storage. * Call ONLY on shutdown. */ public static void releaseThreadLocalObjects() { clearThreadLocalObjects(); contexts = null; marshallers = null; }
protected void clearThreadLocals() { SerializationContext.clearThreadLocalObjects(); TypeMarshallingContext.clearThreadLocalObjects(); }
/** * */ public void clearThreadLocals() { SerializationContext.clearThreadLocalObjects(); TypeMarshallingContext.clearThreadLocalObjects(); }
/** * */ public void clearThreadLocals() { SerializationContext.clearThreadLocalObjects(); TypeMarshallingContext.clearThreadLocalObjects(); }
/** * Users should not call this. * */ public static void clearThreadLocalObjects() { if (flexClients == null) // In case releaseThreadLocalObjects has been called. return; flexClients.remove(); sessions.remove(); messageBrokers.remove(); endpoints.remove(); requests.remove(); responses.remove(); tunnelRequests.remove(); servletConfigs.remove(); messageFromPeer.remove(); messageRoutedNotifiers.remove(); TypeMarshallingContext.clearThreadLocalObjects(); }
/** * Users should not call this. * */ public static void clearThreadLocalObjects() { if (flexClients == null) // In case releaseThreadLocalObjects has been called. return; flexClients.remove(); sessions.remove(); messageBrokers.remove(); endpoints.remove(); requests.remove(); responses.remove(); tunnelRequests.remove(); servletConfigs.remove(); messageFromPeer.remove(); messageRoutedNotifiers.remove(); TypeMarshallingContext.clearThreadLocalObjects(); }
/** * Users should not call this. * @exclude */ public static void clearThreadLocalObjects() { // first clear thread locals on the broker MessageBroker mb = (MessageBroker)messageBrokers.get(); if (mb != null) mb.clearSystemSettingsThreadLocal(); sessions.remove(); messageBrokers.remove(); requests.remove(); responses.remove(); tunnelRequests.remove(); servletConfigs.remove(); messageFromPeer.remove(); TypeMarshallingContext.clearThreadLocalObjects(); }