Code examples for AtomicLong

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
76:	sourceid = new Long(serialId.incrementAndGet()).toString(); 
-
83:	serialId.set(Long.parseLong(sourceid)); 
-
91:	if (Long.parseLong(sourceid) == serialId.get()) { 
-
116:	serialids.put(pid, serialid = new AtomicLong()); 
Full Snippet Info
10
CodeRank
50:	final AtomicLong sizeInBytes = new AtomicLong(); 
Full Snippet Info
9
CodeRank
162:	return this.used.get(); 
Full Snippet Info
9
CodeRank
87:	failureCounter.incrementAndGet(); 
Full Snippet Info
9
CodeRank
111:	AtomicLong c = new AtomicLong(0); 
112:	counters.put(counterName, c); 
Full Snippet Info
8
CodeRank
193:	return this.used.get(); 
Full Snippet Info
9
CodeRank
54:	private final static AtomicLong idGenerator = new AtomicLong(); 
Full Snippet Info
8
CodeRank
30:	long nid = atomicLong.incrementAndGet(); 
Full Snippet Info
8
CodeRank
231:	return indexCounter.get(); 
Full Snippet Info
9
CodeRank
35:	private final AtomicLong counter = new AtomicLong(); 
Full Snippet Info
8
CodeRank
16:	private static AtomicLong nextStateValue = new AtomicLong(); 
Full Snippet Info
8
CodeRank
65:	return sum.get(); 
Full Snippet Info
8
CodeRank
31:	falsePositiveCount.incrementAndGet(); 
Full Snippet Info
8
CodeRank
35:	protected static AtomicLong golbalCounter = new AtomicLong(0); 
Full Snippet Info
8
CodeRank
189:	return exceptionCounter.get(); 
Full Snippet Info
8
CodeRank
32:	private static final AtomicLong generator = new AtomicLong(); 
Full Snippet Info
8
CodeRank
40:	opCount.incrementAndGet(); 
Full Snippet Info
8
CodeRank
304:	private final AtomicLong totalMsg=new AtomicLong(0); 
Full Snippet Info
8
CodeRank
190:	return exceptionCounter.get(); 
Full Snippet Info
8
CodeRank
15:	private static AtomicLong sequence = new AtomicLong(); 
Full Snippet Info
8
CodeRank