summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/locks/Lock.h
blob: b00f601e71d1cb2bd7379fc3c4072ff58e87aefc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_concurrent_locks_Lock__
#define __java_util_concurrent_locks_Lock__

#pragma interface

#include <java/lang/Object.h>

class java::util::concurrent::locks::Lock : public ::java::lang::Object
{

public:
  virtual void lock() = 0;
  virtual void lockInterruptibly() = 0;
  virtual jboolean tryLock() = 0;
  virtual jboolean tryLock(jlong, ::java::util::concurrent::TimeUnit *) = 0;
  virtual void unlock() = 0;
  virtual ::java::util::concurrent::locks::Condition * newCondition() = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __java_util_concurrent_locks_Lock__