d9f646e4b9
2007-02-20 Gary Benson <gbenson@redhat.com> * gnu/awt/xlib/XEventLoop.h: Regenerated. * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise. * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h: Likewise. * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise. * java/lang/SecurityManager.h: Likewise. * java/lang/Thread.h: Likewise. * java/security/VMSecureRandom$Spinner.h: Likewise. * java/util/concurrent/atomic/AtomicBoolean.h: Likewise. * java/util/concurrent/atomic/AtomicInteger.h: Likewise. * java/util/concurrent/atomic/AtomicLong.h: Likewise. * java/util/concurrent/atomic/AtomicReference.h: Likewise. * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise. * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise. * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise. * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise. * java/util/concurrent/ConcurrentSkipListMap.h: Likewise. * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise. * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise. * java/util/concurrent/Exchanger.h: Likewise. * java/util/concurrent/Exchanger$Node.h: Likewise. * java/util/concurrent/FutureTask$Sync.h: Likewise. * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise. * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h: Likewise. * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: Likewise. * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise. * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h: Likewise. * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise. * java/util/concurrent/SynchronousQueue.h: Likewise. * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise. * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h: Likewise. * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise. * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h: Likewise. * java/util/concurrent/ThreadPoolExecutor.h: Likewise. * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise. * java/util/logging/ErrorManager.h: Likewise. * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise. * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise. From-SVN: r122161
44 lines
1.8 KiB
C++
44 lines
1.8 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __java_util_concurrent_ConcurrentHashMap$Segment__
|
|
#define __java_util_concurrent_ConcurrentHashMap$Segment__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/util/concurrent/locks/ReentrantLock.h>
|
|
#include <gcj/array.h>
|
|
|
|
|
|
class java::util::concurrent::ConcurrentHashMap$Segment : public ::java::util::concurrent::locks::ReentrantLock
|
|
{
|
|
|
|
public: // actually package-private
|
|
ConcurrentHashMap$Segment(jint, jfloat);
|
|
static JArray< ::java::util::concurrent::ConcurrentHashMap$Segment * > * newArray(jint);
|
|
void setTable(JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > *);
|
|
::java::util::concurrent::ConcurrentHashMap$HashEntry * getFirst(jint);
|
|
::java::lang::Object * readValueUnderLock(::java::util::concurrent::ConcurrentHashMap$HashEntry *);
|
|
::java::lang::Object * get(::java::lang::Object *, jint);
|
|
jboolean containsKey(::java::lang::Object *, jint);
|
|
jboolean containsValue(::java::lang::Object *);
|
|
jboolean replace(::java::lang::Object *, jint, ::java::lang::Object *, ::java::lang::Object *);
|
|
::java::lang::Object * replace(::java::lang::Object *, jint, ::java::lang::Object *);
|
|
::java::lang::Object * put(::java::lang::Object *, jint, ::java::lang::Object *, jboolean);
|
|
void rehash();
|
|
::java::lang::Object * remove(::java::lang::Object *, jint, ::java::lang::Object *);
|
|
void clear();
|
|
private:
|
|
static const jlong serialVersionUID = 2249069246763182397LL;
|
|
public: // actually package-private
|
|
volatile jint __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::ReentrantLock)))) count;
|
|
jint modCount;
|
|
jint threshold;
|
|
volatile JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > * table;
|
|
jfloat loadFactor;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __java_util_concurrent_ConcurrentHashMap$Segment__
|