Tabnine Logo
FileResolver
Code IndexAdd Tabnine to your IDE (free)

How to use
FileResolver
in
rocks.inspectit.agent.java.io

Best Java code snippets using rocks.inspectit.agent.java.io.FileResolver (Showing top 4 results out of 315)

origin: inspectIT/inspectIT

/**
 * Deletes the current cache file from disk.
 */
private void deleteCacheFromDisk() {
  File file = fileResolver.getClassHashCacheFile().getAbsoluteFile();
  if (file.exists()) {
    if (!file.delete()) {
      log.warn("Unable to delete the existing class cache file: " + file.getAbsolutePath());
    }
  }
}
origin: inspectIT/inspectIT

File file = fileResolver.getClassHashCacheFile().getAbsoluteFile();
origin: inspectIT/inspectIT

File file = fileResolver.getClassHashCacheFile().getAbsoluteFile();
origin: inspectIT/inspectIT

@BeforeMethod
public void setup() {
  doReturn(new File(TEST_CACHE_FILE)).when(fileResolver).getClassHashCacheFile();
  when(prototypesProvider.createSerializer()).thenReturn(serializationManager);
}
rocks.inspectit.agent.java.ioFileResolver

Javadoc

File resolver knows where all files that agent saves data to should be.

Most used methods

  • getClassHashCacheFile
    Returns file where cache hash cache for this agent should be. Expected path: [PATH_TO_AGENT]/cache/a

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now