CasFuseDriverProfile

public class CasFuseDriverProfile
extends Object implements IFuseDriverProfile

java.lang.Object
   ↳ com.android.tradefed.build.CasFuseDriverProfile


CasDriverProfile, डिवाइस की उन इमेज के लिए IFuseDriverProfile का खास तौर पर लागू किया गया वर्शन है जो FastCDC की मदद से छोटे-छोटे हिस्सों में बांटी गई डायरेक्ट्री होती हैं.

खास जानकारी

पब्लिक कंस्ट्रक्टर

CasFuseDriverProfile(Path driverPath)

यह दिए गए ड्राइवर पाथ के साथ एक नई CasFuseDriverProfile बनाता है.

CasFuseDriverProfile(Path driverPath, int mountTimeoutInMs)

यह दिए गए ड्राइवर पाथ और माउंट टाइमआउट के साथ एक नई CasFuseDriverProfile बनाता है.

सार्वजनिक तरीके

buildMountCommand(Path sourceDataPath, Path mountPoint)

माउंट कमांड को चलाने के लिए, कमांड लाइन बनाता है.

String getDriverName()

इस ड्राइवर टाइप के लिए, जानकारी देने वाला नाम.

long getMountTimeoutInMs()

माउंट पॉइंट के तैयार होने का इंतज़ार करने के लिए डिफ़ॉल्ट टाइमआउट.

boolean isMountPointReady(Path mountPoint)

इस कुकी से यह पता चलता है कि माउंट पॉइंट इस्तेमाल के लिए तैयार है या नहीं.

void validateSourceDataPath(Path sourceDataPath)

यह पुष्टि करता है कि सोर्स डेटा पाथ, इस खास FUSE ड्राइवर के लिए सही है.

पब्लिक कंस्ट्रक्टर

CasFuseDriverProfile

public CasFuseDriverProfile (Path driverPath)

यह दिए गए ड्राइवर पाथ के साथ एक नई CasFuseDriverProfile बनाता है.

पैरामीटर
driverPath Path: ड्राइवर बाइनरी का पाथ.

CasFuseDriverProfile

public CasFuseDriverProfile (Path driverPath, 
                int mountTimeoutInMs)

यह दिए गए ड्राइवर पाथ और माउंट टाइमआउट के साथ एक नई CasFuseDriverProfile बनाता है.

पैरामीटर
driverPath Path: ड्राइवर बाइनरी का पाथ.

mountTimeoutInMs int: माउंट पॉइंट के तैयार होने का इंतज़ार करने के लिए, मिलीसेकंड में टाइम आउट.

सार्वजनिक तरीके

buildMountCommand

public  buildMountCommand (Path sourceDataPath, 
                Path mountPoint)

माउंट कमांड को चलाने के लिए, कमांड लाइन बनाता है.

पैरामीटर
sourceDataPath Path: सोर्स डेटा का पाथ.

mountPoint Path: टारगेट माउंट पॉइंट.

रिटर्न
स्ट्रिंग की सूची, जिसे एक्ज़ीक्यूट करने के लिए कमांड लाइन के तौर पर दिखाया जाता है.

getDriverName

public String getDriverName ()

इस ड्राइवर टाइप के लिए, जानकारी देने वाला नाम.

रिटर्न
String ड्राइवर का नाम (उदाहरण के लिए, "FastCDC", "sshfs").

getMountTimeoutInMs

public long getMountTimeoutInMs ()

माउंट पॉइंट के तैयार होने का इंतज़ार करने के लिए डिफ़ॉल्ट टाइमआउट.

रिटर्न
long मिलीसेकंड में टाइम आउट की डिफ़ॉल्ट अवधि.

isMountPointReady

public boolean isMountPointReady (Path mountPoint)

इस कुकी से यह पता चलता है कि माउंट पॉइंट इस्तेमाल के लिए तैयार है या नहीं.

पैरामीटर
mountPoint Path: जांच करने के लिए माउंट पॉइंट.

रिटर्न
boolean अगर माउंट पॉइंट तैयार है, तो वैल्यू true होगी. अगर ऐसा नहीं है, तो वैल्यू false होगी.

validateSourceDataPath

public void validateSourceDataPath (Path sourceDataPath)

यह पुष्टि करता है कि सोर्स डेटा पाथ, इस खास FUSE ड्राइवर के लिए सही है.

पैरामीटर
sourceDataPath Path: जांच करने के लिए सोर्स डेटा पाथ.