org.curjent.test.agent.asmify
Class CopyTask

java.lang.Object
  extended by org.curjent.test.agent.asmify.CopyTask

 class CopyTask
extends Object


Constructor Summary
CopyTask()
           
 
Method Summary
 void copy(String source, String target)
           
 int count()
           
 boolean exists(String source)
           
 Future<File> file(String source)
           
 void flush(Runnable action)
           
(package private)  long length(File file)
           
private static void log(Object o)
           
 char read(long offset, int count)
           
(package private)  AgentCall<Integer> status(String source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyTask

CopyTask()
Method Detail

copy

public void copy(String source,
                 String target)
          throws IOException
Throws:
IOException

exists

public boolean exists(String source)
               throws IOException
Throws:
IOException

length

long length(File file)

file

public Future<File> file(String source)

status

@Synchronous
AgentCall<Integer> status(String source)

flush

@Synchronous
@Isolated
public void flush(Runnable action)

read

public char read(long offset,
                 int count)

count

@Reentrant
public int count()

log

private static void log(Object o)


Copyright 2009-2011 Tom Landon
Apache License 2.0