Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes
nordugrid.arc.FileCache Class Reference

List of all members.

Public Member Functions

synchronized void delete ()
 FileCache (String cache_path, String id, SWIGTYPE_p_uid_t job_uid, SWIGTYPE_p_gid_t job_gid)
 FileCache (SWIGTYPE_p_std__vectorT_std__string_t caches, String id, SWIGTYPE_p_uid_t job_uid, SWIGTYPE_p_gid_t job_gid)
 FileCache (SWIGTYPE_p_std__vectorT_std__string_t caches, SWIGTYPE_p_std__vectorT_std__string_t remote_caches, SWIGTYPE_p_std__vectorT_std__string_t draining_caches, String id, SWIGTYPE_p_uid_t job_uid, SWIGTYPE_p_gid_t job_gid, int cache_max, int cache_min)
 FileCache (SWIGTYPE_p_std__vectorT_std__string_t caches, SWIGTYPE_p_std__vectorT_std__string_t remote_caches, SWIGTYPE_p_std__vectorT_std__string_t draining_caches, String id, SWIGTYPE_p_uid_t job_uid, SWIGTYPE_p_gid_t job_gid, int cache_max)
 FileCache (SWIGTYPE_p_std__vectorT_std__string_t caches, SWIGTYPE_p_std__vectorT_std__string_t remote_caches, SWIGTYPE_p_std__vectorT_std__string_t draining_caches, String id, SWIGTYPE_p_uid_t job_uid, SWIGTYPE_p_gid_t job_gid)
 FileCache ()
boolean Start (String url, SWIGTYPE_p_bool available, SWIGTYPE_p_bool is_locked, boolean use_remote)
boolean Start (String url, SWIGTYPE_p_bool available, SWIGTYPE_p_bool is_locked)
boolean Stop (String url)
boolean StopAndDelete (String url)
String File (String url)
boolean Link (String link_path, String url)
boolean Copy (String dest_path, String url, boolean executable)
boolean Copy (String dest_path, String url)
boolean Release ()
boolean AddDN (String url, String DN, Time expiry_time)
boolean CheckDN (String url, String DN)
boolean CheckCreated (String url)
Time GetCreated (String url)
boolean CheckValid (String url)
Time GetValid (String url)
boolean SetValid (String url, Time val)
boolean toBool ()

Protected Member Functions

 FileCache (long cPtr, boolean cMemoryOwn)

Static Protected Member Functions

static long getCPtr (FileCache obj)

Protected Attributes

boolean swigCMemOwn

Private Attributes

long swigCPtr

Detailed Description

Definition at line 11 of file FileCache.java.


Constructor & Destructor Documentation

nordugrid.arc.FileCache.FileCache ( long  cPtr,
boolean  cMemoryOwn 
) [inline, protected]

Definition at line 15 of file FileCache.java.

                                                     {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }
nordugrid.arc.FileCache.FileCache ( String  cache_path,
String  id,
SWIGTYPE_p_uid_t  job_uid,
SWIGTYPE_p_gid_t  job_gid 
) [inline]

Definition at line 32 of file FileCache.java.

                                                                                                     {
    this(arcJNI.new_FileCache__SWIG_0(cache_path, id, SWIGTYPE_p_uid_t.getCPtr(job_uid), SWIGTYPE_p_gid_t.getCPtr(job_gid)), true);
  }

Here is the call graph for this function:

Definition at line 36 of file FileCache.java.

                                                                                                                                {
    this(arcJNI.new_FileCache__SWIG_1(SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(caches), id, SWIGTYPE_p_uid_t.getCPtr(job_uid), SWIGTYPE_p_gid_t.getCPtr(job_gid)), true);
  }

Here is the call graph for this function:

nordugrid.arc.FileCache.FileCache ( SWIGTYPE_p_std__vectorT_std__string_t  caches,
SWIGTYPE_p_std__vectorT_std__string_t  remote_caches,
SWIGTYPE_p_std__vectorT_std__string_t  draining_caches,
String  id,
SWIGTYPE_p_uid_t  job_uid,
SWIGTYPE_p_gid_t  job_gid,
int  cache_max,
int  cache_min 
) [inline]

Definition at line 40 of file FileCache.java.

                                                                                                                                                                                                                                                                          {
    this(arcJNI.new_FileCache__SWIG_2(SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(caches), SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(remote_caches), SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(draining_caches), id, SWIGTYPE_p_uid_t.getCPtr(job_uid), SWIGTYPE_p_gid_t.getCPtr(job_gid), cache_max, cache_min), true);
  }

Here is the call graph for this function:

nordugrid.arc.FileCache.FileCache ( SWIGTYPE_p_std__vectorT_std__string_t  caches,
SWIGTYPE_p_std__vectorT_std__string_t  remote_caches,
SWIGTYPE_p_std__vectorT_std__string_t  draining_caches,
String  id,
SWIGTYPE_p_uid_t  job_uid,
SWIGTYPE_p_gid_t  job_gid,
int  cache_max 
) [inline]

Definition at line 44 of file FileCache.java.

                                                                                                                                                                                                                                                           {
    this(arcJNI.new_FileCache__SWIG_3(SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(caches), SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(remote_caches), SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(draining_caches), id, SWIGTYPE_p_uid_t.getCPtr(job_uid), SWIGTYPE_p_gid_t.getCPtr(job_gid), cache_max), true);
  }

Here is the call graph for this function:

Definition at line 48 of file FileCache.java.

                                                                                                                                                                                                                                            {
    this(arcJNI.new_FileCache__SWIG_4(SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(caches), SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(remote_caches), SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(draining_caches), id, SWIGTYPE_p_uid_t.getCPtr(job_uid), SWIGTYPE_p_gid_t.getCPtr(job_gid)), true);
  }

Here is the call graph for this function:

Definition at line 52 of file FileCache.java.

                     {
    this(arcJNI.new_FileCache__SWIG_5(), true);
  }

Here is the call graph for this function:


Member Function Documentation

boolean nordugrid.arc.FileCache.AddDN ( String  url,
String  DN,
Time  expiry_time 
) [inline]

Definition at line 92 of file FileCache.java.

                                                                {
    return arcJNI.FileCache_AddDN(swigCPtr, this, url, DN, Time.getCPtr(expiry_time), expiry_time);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.CheckCreated ( String  url) [inline]

Definition at line 100 of file FileCache.java.

                                          {
    return arcJNI.FileCache_CheckCreated(swigCPtr, this, url);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.CheckDN ( String  url,
String  DN 
) [inline]

Definition at line 96 of file FileCache.java.

                                                {
    return arcJNI.FileCache_CheckDN(swigCPtr, this, url, DN);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.CheckValid ( String  url) [inline]

Definition at line 108 of file FileCache.java.

                                        {
    return arcJNI.FileCache_CheckValid(swigCPtr, this, url);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.Copy ( String  dest_path,
String  url,
boolean  executable 
) [inline]

Definition at line 80 of file FileCache.java.

                                                                        {
    return arcJNI.FileCache_Copy__SWIG_0(swigCPtr, this, dest_path, url, executable);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.Copy ( String  dest_path,
String  url 
) [inline]

Definition at line 84 of file FileCache.java.

                                                    {
    return arcJNI.FileCache_Copy__SWIG_1(swigCPtr, this, dest_path, url);
  }

Here is the call graph for this function:

synchronized void nordugrid.arc.FileCache.delete ( ) [inline]

Definition at line 24 of file FileCache.java.

                                    {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      throw new UnsupportedOperationException("C++ destructor does not have public access");
    }
    swigCPtr = 0;
  }
String nordugrid.arc.FileCache.File ( String  url) [inline]

Definition at line 72 of file FileCache.java.

                                 {
    return arcJNI.FileCache_File(swigCPtr, this, url);
  }

Here is the call graph for this function:

static long nordugrid.arc.FileCache.getCPtr ( FileCache  obj) [inline, static, protected]

Definition at line 20 of file FileCache.java.

                                               {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

Here is the caller graph for this function:

Time nordugrid.arc.FileCache.GetCreated ( String  url) [inline]

Definition at line 104 of file FileCache.java.

                                     {
    return new Time(arcJNI.FileCache_GetCreated(swigCPtr, this, url), true);
  }

Here is the call graph for this function:

Time nordugrid.arc.FileCache.GetValid ( String  url) [inline]

Definition at line 112 of file FileCache.java.

                                   {
    return new Time(arcJNI.FileCache_GetValid(swigCPtr, this, url), true);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.Link ( String  link_path,
String  url 
) [inline]

Definition at line 76 of file FileCache.java.

                                                    {
    return arcJNI.FileCache_Link(swigCPtr, this, link_path, url);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.Release ( ) [inline]

Definition at line 88 of file FileCache.java.

                           {
    return arcJNI.FileCache_Release(swigCPtr, this);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.SetValid ( String  url,
Time  val 
) [inline]

Definition at line 116 of file FileCache.java.

                                                {
    return arcJNI.FileCache_SetValid(swigCPtr, this, url, Time.getCPtr(val), val);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.Start ( String  url,
SWIGTYPE_p_bool  available,
SWIGTYPE_p_bool  is_locked,
boolean  use_remote 
) [inline]

Definition at line 56 of file FileCache.java.

                                                                                                             {
    return arcJNI.FileCache_Start__SWIG_0(swigCPtr, this, url, SWIGTYPE_p_bool.getCPtr(available), SWIGTYPE_p_bool.getCPtr(is_locked), use_remote);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.Start ( String  url,
SWIGTYPE_p_bool  available,
SWIGTYPE_p_bool  is_locked 
) [inline]

Definition at line 60 of file FileCache.java.

                                                                                         {
    return arcJNI.FileCache_Start__SWIG_1(swigCPtr, this, url, SWIGTYPE_p_bool.getCPtr(available), SWIGTYPE_p_bool.getCPtr(is_locked));
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.Stop ( String  url) [inline]

Definition at line 64 of file FileCache.java.

                                  {
    return arcJNI.FileCache_Stop(swigCPtr, this, url);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.StopAndDelete ( String  url) [inline]

Definition at line 68 of file FileCache.java.

                                           {
    return arcJNI.FileCache_StopAndDelete(swigCPtr, this, url);
  }

Here is the call graph for this function:

boolean nordugrid.arc.FileCache.toBool ( ) [inline]

Definition at line 120 of file FileCache.java.

                          {
    return arcJNI.FileCache_toBool(swigCPtr, this);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 13 of file FileCache.java.

Definition at line 12 of file FileCache.java.


The documentation for this class was generated from the following file: