// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __org_apache_lucene_store_Lock$With__
#define __org_apache_lucene_store_Lock$With__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace org
  {
    namespace apache
    {
      namespace lucene
      {
        namespace store
        {
          class Lock$With;
          class Lock;
        }
      }
    }
  }
}

class org::apache::lucene::store::Lock$With : public ::java::lang::Object
{
public:
  Lock$With (::org::apache::lucene::store::Lock *, jlong);
public:  // actually protected
  virtual ::java::lang::Object *doBody () = 0;
public:
  virtual ::java::lang::Object *run ();
private:
  ::org::apache::lucene::store::Lock * __attribute__((aligned(__alignof__( ::java::lang::Object )))) lock;
  jlong lockWaitTimeout;

  friend class org_apache_lucene_store_Lock$With;
public:

  static ::java::lang::Class class$;
};

#endif /* __org_apache_lucene_store_Lock$With__ */
