devicemap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reza <reza.nagh...@yahoo.com.INVALID>
Subject Re: Thread-Safety of DeviceMapClient.classify()
Date Tue, 18 Nov 2014 15:17:44 GMT
Hey Volkan, *everything* in the DeviceMapClient is thread safe. Specifically, classify() is
read only and non locking, so its thread safe and parallel friendly.
Reza
      From: Volkan YAZICI <volkan.yazici@gmail.com>
 To: devicemap-dev@incubator.apache.org 
 Sent: Tuesday, November 18, 2014 6:03 AM
 Subject: Thread-Safety of DeviceMapClient.classify()
   
Hello,

I use *DeviceMapClient.classify()* as described in the wiki:

DeviceMapClient deviceMapClient = new DeviceMapClient();
deviceMapClient.initDeviceData(LoaderOption.JAR);
Map<String, String> attributes = deviceMapClient.classify(userAgent);


Once you initiate *DeviceMapClient* with *DeviceData*, are calls to
*classify()* thread-safe?

Best.


   
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message